1 package Devel::REPL::Plugin::Interrupt;
3 use Devel::REPL::Plugin;
4 use namespace::clean -except => [ 'meta' ];
8 my ($self, $line) = @_;
10 local $SIG{INT} = sub {
14 return $self->$orig($line);
23 Devel::REPL::Plugin::Interrupt - traps SIGINT to kill long-running lines
27 Shawn M Moore, C<< <sartak at gmail dot com> >>