Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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
Replies are listed 'Best First'.
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 examining the Monastery: (5)
As of 2015-07-28 06:29 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 (252 votes), past polls