in reply to Re^2: Signal Handling
in thread Signal Handling
I can't imagine how you would send a SIGINT with a parameter but you can do whatever you want in the subroutine you assign to SIGINT. Just remember that you want to return control to the system ASAP once you're in the handler. Maybe something like this would work for you...
$SIG{INT} = sub { my $obj = Whatever->new(); process_interrupt($obj) };
|
|---|