in reply to Clean exit using File::Tail
You can catch everything, but be sure that you don't make it impossible to KILL your program.sub QuitHandler { do_cleanup(); } $SIG{'QUIT'} = \&QuitHandler;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Clean exit using File::Tail
by dserodio (Novice) on May 16, 2001 at 02:29 UTC | |
by perigeeV (Hermit) on May 16, 2001 at 03:28 UTC | |
by isotope (Deacon) on May 16, 2001 at 03:24 UTC |