Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

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.


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

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2015-12-01 12:12 GMT
Find Nodes?
    Voting Booth?

    My keyboard shows this many letters:

    Results (7 votes), past polls