|
|
| Welcome to the Monastery | |
| PerlMonks |
Re: Help to infinite loopby dwhite20899 (Friar) |
| on Jan 10, 2009 at 23:19 UTC ( [id://735447]=note: print w/replies, xml ) | Need Help?? |
|
You don't say what platform you're on, so I can't give you too specific help, but maybe you should look at the alarm function.
http://perldoc.perl.org/functions/alarm.html
instead of sleeping, and calling a sub to stop the loop, write the loop like this (pseudocode):
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||