in reply to Re: Re: Re: Re: "foreach" is to "next" as "map" is to ???
in thread "foreach" is to "next" as "map" is to ???
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;
|
---|