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!
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.