map is a built-in function used as expression, not a statement
you are right that most uses can be transformed, but there are differences in syntax and implementation
as an example, for - like most non-simple statements - doesn't return values.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re^4: How do I use the map command for this?
by LanX
in thread How do I use the map command for this?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |