use strict; use warnings; my @first = qw(Can unlock secret); my @second = qw(you the code?); my $result = join " ", map { ($first[$_], $second[$_]) } (0..$#first); print $result;
In reply to Re^2: splicing two arrays together
by morgon
in thread splicing two arrays together
by lblake
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |