- or download this
$SIG{INT} = \&intHandler;
+
...
sub intHandler {
...
}
- or download this
$ ./wdminterface.pl
No such signal: SIGINT at ./wdminterface.pl line 40 (#1)
...
Say kill -l in your shell to see the valid signal names on your sy
+stem.
$
- or download this
$ kill -l
1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL
...
25) SIGXFSZ 26) SIGVTALRM 27) SIGPROF 28) SIGWIN
+CH
29) SIGIO 30) SIGPWR 31) SIGSYS
$