in reply to How to use alarm?
local $SIG{ALRM} = sub { die "alarm\n" }; # NB: \n required
But, it does not offer an explanation :(
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to use alarm?
by broomduster (Priest) on Jul 25, 2008 at 23:03 UTC | |
by Fletch (Bishop) on Jul 26, 2008 at 03:06 UTC | |
by friedo (Prior) on Jul 26, 2008 at 03:26 UTC | |
by blazar (Canon) on Jul 26, 2008 at 08:13 UTC | |
by Anonymous Monk on Jul 26, 2008 at 10:02 UTC | |
by bart (Canon) on Jul 27, 2008 at 08:05 UTC | |
by broomduster (Priest) on Jul 26, 2008 at 09:51 UTC |