map or grep are much much safer than for or foreach.
No they aren't :) They alias just like for/foreach.
I know that this is quite far-fetched LISP-like Perl code
Not really :)
In reply to Re^3: Problem with while loop inside a foreach loop
by Anonymous Monk
in thread Problem with while loop inside a foreach loop
by andylevel2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |