in reply to Uninitialized Value Error When Interleaving
You should probably avoid destroying @foo during the merge: my @foobar= map { ($bar[$_],$foo[$_]) } 0..$#bar; or
See mapcar. - tye (but my friends call me "Tye")use mapcar; my @foobar= mapcar { @_ } \@bar, \@foo;
|
|---|