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

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

Thread Previous | Thread Next
Eric Brine
October 31, 2014 17:12
Re: [perl #123090] Not enough arguments for map
Message ID:
On Thu, Oct 30, 2014 at 5:51 PM, Father Chrysostomos via RT <> 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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About