Re: grep and smart match should warn in void context
[email protected] (Michael G Schwern)
| Newsgroups | perl.perl5.porters,perl.makemaker |
|---|---|
| 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!