Just another Perl shrine | |
PerlMonks |
Re^2: Shortcutting grep in boolean contextby ikegami (Patriarch) |
on Jan 03, 2017 at 21:36 UTC ( [id://1178880]=note: print w/replies, xml ) | Need Help?? |
`for @a` also avoids putting every element of the array on the stack like `map @a` and `grep @a` do.
In Section
Seekers of Perl Wisdom
|
|