Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2017-06-23 10:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (542 votes). Check out past polls.