Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Printing an array using while loop

by Joost (Canon)
on Oct 21, 2007 at 20:29 UTC ( #646306=note: print w/replies, xml ) Need Help??


in reply to Re: Printing an array using while loop
in thread Printing an array using while loop

That will still break if @array contains undef entries.

  • Comment on Re^2: Printing an array using while loop

Replies are listed 'Best First'.
Re^3: Printing an array using while loop
by moritz (Cardinal) on Oct 21, 2007 at 20:30 UTC
    Right, the correct solution checks @array, not the returned item.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2019-08-22 00:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?