Personal choice, but I would swap out the C-ish loop from V:
my @list1 = qw/a b c d/; my @list2 = qw/p q r s/; for (0 .. $#list1) { say "$list1[$_] $list2[$_]"; }
In reply to Re: Python tricks
by hippo
in thread Python tricks
by pme
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |