use warnings; use strict; my @f1 = qw(x y z); my @f2 = qw(a b); for (@f1, @f2) { print "$_\n"; } __END__ x y z a b
In reply to Re: Passing multiple arrays to foreach loop
by toolic
in thread Passing multiple arrays to foreach loop
by deshdaaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |