Since my code DOES seems to work correctly,
$ perl -MIO::Select -E' my $sel = IO::Select->new(\*STDIN); $SIG{ALRM} = sub { }; alarm(1); while (my @ready = $sel->can_read()) { # ... } say "HERE"; ' HERE
The OP doesn't want to reach HERE, but apparently that's not a problem for you.
In reply to Re^5: IO::Select and alarm()
by ikegami
in thread IO::Select and alarm()
by Maddingue
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |