Don't ask to ask, just ask | |
PerlMonks |
Re^3: while loops with two tests not working.by nedals (Deacon) |
on Jul 20, 2007 at 00:52 UTC ( [id://627690]=note: print w/replies, xml ) | Need Help?? |
Get into the habit of using strict. If $i=0, you will never enter the loop which requires $i > 0 Change to $i >= 0
In Section
Seekers of Perl Wisdom
|
|