Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Looping backwards through two arrays at once?

by chester (Hermit)
on Nov 04, 2005 at 17:11 UTC ( [id://505789]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for(0..$#array1) {
       print $array1[$#array1 - $_];
       print $array2[$#array2 - $_];
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2024-03-28 23:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found