in reply to
Signal calling to object method
Use this:
$SIG{INT} = sub { $self->gracefulExit };
[download]
Comment on
Re: Signal calling to object method
Download
Code
Replies are listed 'Best First'.
Re^2: Signal calling to object method
by
Anonymous Monk
on Mar 07, 2017 at 16:22 UTC
Whoops, the prior answer didn't show up on the mobile version (nor did the timestamp for some reason). Disregard.
[reply]
In Section
Seekers of Perl Wisdom