Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: how does these map statements work

by frozenwithjoy (Priest)
on Aug 06, 2014 at 08:56 UTC ( [id://1096403]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print map      { $_->[1] }
          sort     { $a->[0] <=> $b->[0] }
          map      { [(split /\s+/)[1], $_] }
          read_file( $ARGV[0] );
    
  2. or download this
        read_file( $ARGV[0] );
    
  3. or download this
        map { [(split /\s+/)[1], $_] }
    
  4. or download this
        sort { $a->[0] <=> $b->[0] }
    
  5. or download this
        map { $_->[1] }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-04-25 22:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found