in reply to Re: DESTROY on CTRL+C
in thread DESTROY on CTRL+C
Update: I wrote: ...
in front ofyour scriptanywhere in your script should be fine.
...but that was a misconception. The %SIG hash is not all that magical.
McA is right, it must be writ before the actual code to be affected by the signal.
Cheers, Sören
Créateur des bugs mobiles - let loose once, run everywhere.
(hooked on the Perl Programming language)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: DESTROY on CTRL+C
by gri6507 (Deacon) on Aug 29, 2013 at 13:08 UTC | |
by McA (Priest) on Aug 29, 2013 at 13:51 UTC | |
by vsespb (Chaplain) on Aug 29, 2013 at 19:22 UTC | |
|
Re^3: DESTROY on CTRL+C
by McA (Priest) on Aug 29, 2013 at 13:00 UTC |