Just another Perl shrine | |
PerlMonks |
Re: Time-limited input on STDINby jamesduncan (Novice) |
on Aug 08, 2003 at 22:33 UTC ( [id://282332]=note: print w/replies, xml ) | Need Help?? |
I may be reading the problem wrong, but you could try using alarm and $SIG{ALRM} inside an eval block.
James.
In Section
Seekers of Perl Wisdom
|
|