use List::MoreUtils qw( mesh ); my @first = qw( Can unlock secret ); my @second = qw( you the code? ); my @newArray = mesh @first, @second;
Update: Fixed code to adjust to mesh's unusual prototype.
In reply to Re: splicing two arrays together
by ikegami
in thread splicing two arrays together
by lblake
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |