Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Re: Time-limited input on STDIN

by ajdelore (Pilgrim)
on Aug 11, 2003 at 17:58 UTC ( #282962=note: print w/ replies, xml ) Need Help??


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

Thanks, this worked great. ++ to jamesduncan and bobn.

One minor note: I did have to set local $/ = undef; within the eval block -- otherwise, it was finishing as soon as I pressed enter after a word.

</ajdelore>


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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2014-08-29 06:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (275 votes), past polls