Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re: Time-limited input on STDIN

by bobn (Chaplain)
on Aug 08, 2003 at 22:42 UTC ( #282334=note: print w/ replies, xml ) Need Help??


in reply to Re: Time-limited input on STDIN
in thread Time-limited input on STDIN

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


Comment on Re: Re: Time-limited input on STDIN
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://282334]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2014-09-01 12:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (8 votes), past polls