Re: grep and smart match should warn in void context
Michael G Schwern <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.extutils-makemaker.devel,gmane.comp.lang.perl.perl5.porters |
|---|---|
| Message-ID | <[email protected]> |
Rafael Garcia-Suarez wrote:
> - grep(s/^(.*)/"-I$1"/, @{$perlinc || []});
> + map(s/^(.*)/"-I$1"/, @{$perlinc || []});
Thanks. I tend to fix them with EXPR for LIST unless there's some sort of
compelling need for a block.
--
THIS I COMMAND!