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

Re^2: Perl Array of array - How to call a function for each array?

by Somni (Friar)
on Jul 09, 2011 at 02:51 UTC ( [id://913461]=note: print w/replies, xml ) Need Help??


in reply to Re: Perl Array of array - How to call a function for each array?
in thread Perl Array of array - How to call a function for each array?

map in void context? For shame!

foo(@$_) for @$aref

  • Comment on Re^2: Perl Array of array - How to call a function for each array?
  • Download Code

Replies are listed 'Best First'.
Re^3: Perl Array of array - How to call a function for each array?
by Anonymous Monk on Jul 09, 2011 at 03:06 UTC

    map in void context? For shame!

    Use a modern perl, map in void context is free

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-18 02:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found