As for capturing all signals you might look at sigtrap. Or you could do the following:
Note that will also call handler when you die or warn.$SIG{$_} = \&handler for keys %SIG;
--
perl -pe "s/\b;([mnst])/'\1/mg"
In reply to Re: Re: Re: nohup & PERL.
by belg4mit
in thread nohup & PERL.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |