![]() |
|
"be consistent" | |
PerlMonks |
Re^2: while loop not exiting?by ikegami (Patriarch) |
on Apr 06, 2005 at 18:21 UTC ( #445387=note: print w/replies, xml ) | Need Help?? |
RazorbladeBidet means the loop may in fact be ending without you realizing it because of buffering. If select(STDOUT); $|=1; helps, it means the problem is actually after the loop, and that you got fooled into thinking it was within the loop because the printed data was still in a buffer.
In Section
Seekers of Perl Wisdom
|
|