in reply to
Timeout on STDIN
I'm not sure exactly, but I managed to get down to this:
$SIG{ALRM} = sub { die };alarm(2);<>;
Which just hangs on win32 but works fine on linux. So I'm blaming windows =]
Comment on
Re: Timeout on STDIN
Download
Code
In Section
Seekers of Perl Wisdom