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

Re^4: process array with while loop

by ikegami (Patriarch)
on Nov 09, 2006 at 18:46 UTC ( [id://583188]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while (@array) {
       my $item = shift @array;  # or pop
    ...
          push(@array, ...);     # or unshift
       ...
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-04-17 11:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found