Write syntax to add two arrays together in perl?



Write syntax to add two arrays together in perl?..

Answer / Gajay Singh Kashyap

In Perl, you can use the concatenation operator (@) to merge two arrays. `@merged_array = @array1 @array2`.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More CGI Perl Interview Questions

Demonstrate subroutines in perl with a simple example.

1 Answers  


What elements of the Perl language could you use to structure your code to allow for maximum re-use and maximum readability?

1 Answers  


Explain subroutine in perl?

1 Answers  


In Perl, what is grep function used for?

1 Answers  


What is the easiest way to download the contents of a URL with Perl?

1 Answers  


How can you define “my” variables scope in Perl and how it is different from “local” variable scope?

1 Answers  


How many types of variable in perl?

1 Answers  


How to disable the mod_perl from apache_server as i have used perlfect search on the site and its pagination is not working and the remedy is to disable the mod_perl.

1 Answers  


What does the command "use strict" do and why should you use it?

2 Answers   Symphony, TCS,


what is the meaning of rigging?

1 Answers  


Differentiate use and require?

1 Answers  


List the operator used in Perl?

1 Answers  


Categories