Perl: the Markov chain saw | |
PerlMonks |
Re: Re: Time-limited input on STDINby bobn (Chaplain) |
on Aug 08, 2003 at 22:42 UTC ( [id://282334]=note: print w/replies, xml ) | Need Help?? |
You should use alarm(0) after the entry of data to turn off the alarm. Ottherwise, your program will be alarm'd even though you entered text in the allowed amount of time. See perldoc -f alarm for details. --Bob Niederman, http://bob-n.com
In Section
Seekers of Perl Wisdom
|
|