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.