in reply to ^CSIGINT handler "my_handler" not defined. Sigtrap is not able to find handler function.
Is that a typo? You use my_handler and my_hanlder.
use sigtrap 'handler' => \&my_handler, 'normal-signals'; sub my_hanlder { die "Caught signal $! \n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: ^CSIGINT handler "my_handler" not defined. Sigtrap is not able to find handler function.
by girijaj (Initiate) on Sep 17, 2014 at 06:59 UTC |