There is no sane way to do the equivalent of this in a map block.Of course there is.
map { !/^#/ ? () : do { # ... a dozen lines of code } } @lines
Abigail
In reply to Re: "foreach" is to "next" as "map" is to ???
by Abigail-II
in thread "foreach" is to "next" as "map" is to ???
by McMahon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |