...perl6 (irrc) will have a way to do forech @list while still keeping the position in the array...It seems that the plan is to enhance foreach so it can go through a list two elements at a time, then use the @list.kv method to get a list of alternating indexes and values.
In reply to Re: Re: Perl's Bad Ideas
by no_slogan
in thread Perl's Bad Ideas
by japhy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |