Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: map grep and sort

by tobyink (Abbot)
on May 25, 2013 at 07:27 UTC ( #1035236=note: print w/ replies, xml ) Need Help??


in reply to Re: map grep and sort
in thread map grep and sort

See also:

Also worth noting that map's block is called in list context so can return zero or more items.

package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name


Comment on Re^2: map grep and sort
Select or Download Code
Re^3: map grep and sort
by coyocanid (Acolyte) on May 25, 2013 at 14:38 UTC
    That is a very good and important point. Map can generate hashes because of this. I will add that fact to the above.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2014-07-26 01:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls