|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re^2: Get the current function used to handle control+zby friedo (Prior) |
| on Dec 14, 2008 at 07:46 UTC ( #730260=note: print w/ replies, xml ) | Need Help?? |
|
It's a little clunky, but you can do the kill from within perl by counting SIGSTOP's position in $Config{sig_name} (which, unfortunately, is a space-separated list rather than an array.) This just counts signal names until it gets to STOP, and $n will contain the right number.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||