Perl-Sensitive Sunglasses | |
PerlMonks |
Re^6: reduce like iteratorsby ikegami (Patriarch) |
on Jan 03, 2011 at 19:28 UTC ( [id://880244]=note: print w/replies, xml ) | Need Help?? |
It's a bit cleaner if ($state, @to_push) is returned.
(@a may not start with undef for the last two to work properly.) This actually looks like map now (as it should).
In Section
Seekers of Perl Wisdom
|
|