in reply to Re: How to use alarm?
in thread How to use alarm?
The OPs problem is just buffering. Either
or$| = 1; $SIG{ALRM} = sub {print "checking"};
fixes his problem.$SIG{ALRM} = sub {print "checking\n"};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to use alarm?
by Fletch (Bishop) on Jul 26, 2008 at 03:06 UTC | |
by bart (Canon) on Jul 27, 2008 at 08:05 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 broomduster (Priest) on Jul 26, 2008 at 09:51 UTC |