>>>>> "PK" == Parag Kalra <paragka...@gmail.com> writes:
PK> #!/usr/bin/perl PK> use strict; PK> use warnings; PK> my @ar = ("rahul","patil"); PK> my @ar1 = ("nitin"); PK> my @ar4; PK> push @ar4, (@ar, @ar1); PK> print "@ar4"; it is nice that you are trying to help but your code can be better. there is no need for the push call: my @ar4 = ( @ar, @ar1 ) ; uri -- Uri Guttman ------ u...@stemsystems.com -------- http://www.sysarch.com -- ----- Perl Code Review , Architecture, Development, Training, Support ------ --------- Gourmet Hot Cocoa Mix ---- http://bestfriendscocoa.com --------- -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/