moleschi has asked for the wisdom of the Perl Monks concerning the following question:
$SIG{INT} = \&intHandler; + ... + sub intHandler { ... }
Running kill -l confirms that I have that signal:$ ./wdminterface.pl No such signal: SIGINT at ./wdminterface.pl line 40 (#1) (W signal) You specified a signal name as a subscript to %SIG that + was not recognized. Say kill -l in your shell to see the valid signal names on your sy +stem. $
I'm I missing something simple here? I can't figure out why it won't find the signal. Is this a problem with my perl code, perl setup or linux setup?$ kill -l 1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL 5) SIGTRAP 6) SIGABRT 7) SIGBUS 8) SIGFPE 9) SIGKILL 10) SIGUSR1 11) SIGSEGV 12) SIGUSR +2 13) SIGPIPE 14) SIGALRM 15) SIGTERM 16) SIGSTK +FLT 17) SIGCHLD 18) SIGCONT 19) SIGSTOP 20) SIGTS +TP 21) SIGTTIN 22) SIGTTOU 23) SIGURG 24) SIGXCP +U 25) SIGXFSZ 26) SIGVTALRM 27) SIGPROF 28) SIGWIN +CH 29) SIGIO 30) SIGPWR 31) SIGSYS $
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: No such signal: SIGINT, In embedded linux system
by sauoq (Abbot) on Dec 15, 2004 at 18:19 UTC | |
by Anonymous Monk on Dec 15, 2004 at 18:27 UTC | |
by sauoq (Abbot) on Dec 15, 2004 at 18:40 UTC | |
by Anonymous Monk on Dec 15, 2004 at 19:04 UTC |