Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: $_ and list flattening with map()

by blokhead (Monsignor)
on Dec 14, 2003 at 21:23 UTC ( #314685=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $_++ for map @$_, @{$a};
    
  2. or download this
    map { map { $_++ } @$_ } @$a;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2014-07-23 21:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (152 votes), past polls