http://qs321.pair.com?node_id=193555


in reply to WeatherNWS Timeout

perldoc perlipc shows how to setup a timeout (It might not work in Windows):

eval { local $SIG{ALRM} = sub { die "alarm clock restart" }; alarm 10; # your code here alarm 0; }; if ($@ and $@ !~ /alarm clock restart/) { die }