in reply to Re^3: why doesn't "my ($a,$b)" return a list?
in thread why doesn't "my ($a,$b)" return a list?
by supplying the variables as arguments I can naturally bind the iterator to them without the need to generate extra interators.
while( enum @a => state($value,$index) ) {...}
Actually an extra option for "each" to work like flip-flop would be the best solution.
Cheers Rolf
|
|---|