Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: map syntax error -- weird

by tobyink (Abbot)
on Mar 22, 2013 at 22:38 UTC ( #1024987=note: print w/ replies, xml ) Need Help??


in reply to Re: map syntax error -- weird
in thread map syntax error -- weird

And just for completeness, to disambiguate the other way, use a leading +:

map +{ "x" => $y }, qw(1 2 3);
package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name


Comment on Re^2: map syntax error -- weird
Select or Download Code
Re^3: map syntax error -- weird
by ikegami (Pope) on Mar 24, 2013 at 07:08 UTC
    map +{... map EXPR, LIST map {;... map BLOCK LIST

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1024987]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2015-07-05 03:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls