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) };
In reply to Re^3: Signal Handling
by Anonymous Monk
in thread Signal Handling
by anshumangoyal
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |