Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 chanting in the Monastery: (7)
As of 2014-12-25 09:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls