There is no sane way to do the equivalent of this in a map block.
@paragraph= map { if( /^#/ ) { () } else { # ... a dozen lines of code $_ } } @lines;
In reply to Re: Re: Re: Re: Re: "foreach" is to "next" as "map" is to ???
by sacked
in thread "foreach" is to "next" as "map" is to ???
by McMahon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |