Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Printing an array using while loop

by moritz (Cardinal)
on Oct 21, 2007 at 20:25 UTC ( #646303=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $item;
    while (defined($item = shift @array)){
         print $item, "\n";
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2019-08-25 20:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?