in reply to Re^2: trying to get timeout to work
in thread trying to get timeout to work
Yes, but it will happen in the requested 3 seconds. If you want a non-fatal handler:
local $SIG{ALRM} = sub { print STDERR "hey\n" };
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: trying to get timeout to work
by Eliya (Vicar) on Apr 11, 2012 at 14:46 UTC | |
by halfcountplus (Hermit) on Apr 11, 2012 at 15:35 UTC |
In Section
Seekers of Perl Wisdom