Perl: the Markov chain saw | |
PerlMonks |
Re: Looped around my neck (help with my poor little loops!)by pfaut (Priest) |
on Mar 15, 2003 at 20:43 UTC ( [id://243342]=note: print w/replies, xml ) | Need Help?? |
The loop in &guessing is not really a loop at all. It will either exit (bad form to exit from a subroutine) or execute the last statement on the first pass. I think that while really wants to be an if.
In Section
Seekers of Perl Wisdom
|
|