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