Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

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

Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2016-10-27 05:38 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (353 votes). Check out past polls.