Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Variable number of foreach loops (improving performance)

by smls (Friar)
on Dec 11, 2013 at 11:35 UTC ( [id://1066607]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub multi_foreach(&@) {
      my $code = shift;
    ...
    }
    
    multi_foreach { say join ' ', @_ } \( @a, @b, @c );
    
  2. or download this
    sub multi_foreach(&@) {
      my $code = shift;
    ...
    }
    
    multi_foreach { say join ' ', @_ } \( @a, @b, @c );
    

Log In?
Username:
Password:

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

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

    No recent polls found