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>
|
---|