Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Array indices

by Anonymous Monk
on Sep 14, 2002 at 17:13 UTC ( [id://197901]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub arrloop {
      my ($arrays, $code) = @_;
    ...
        $code->(map { $_->[$i] } @$array);
      }
    }
    
  2. or download this
    arrloop [\@first, \@middle, \@last], sub {
      my ($first, $middle, $last) = @_;
      print "Hello $first $middle $last\n";
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-03-19 07:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found