develooper Front page | perl.perl5.porters | Postings from October 2014

Re: [perl #123090] Not enough arguments for map

Thread Previous | Thread Next
From:
Eric Brine
Date:
October 31, 2014 17:12
Subject:
Re: [perl #123090] Not enough arguments for map
Message ID:
CALJW-qEcTfRnWyxvL_gMosSy-S_uKNuWmpetc-k2zqf0ekE18w@mail.gmail.com
On Thu, Oct 30, 2014 at 5:51 PM, Father Chrysostomos via RT <
perlbug-followup@perl.org> wrote:

> Personally I usually do ‘map +(...), LIST’, since it always works, unless
> I need multiple statements in the block.
>

And to force the block syntax, you can use: map {; ... } LIST

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About