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!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.