X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FDevel-REPL.git;a=blobdiff_plain;f=lib%2FDevel%2FREPL%2FPlugin%2FInterrupt.pm;h=1b2551e3b7fec2e3902cf633ae7710e308564d24;hp=20adfec2d45ab2a1d3a7f35e238478000bb266e9;hb=6f4f9516b3422a8ce51b89b596fb808b197f833e;hpb=88d6bf36484ce580aa093654129e9b707ccb1c66 diff --git a/lib/Devel/REPL/Plugin/Interrupt.pm b/lib/Devel/REPL/Plugin/Interrupt.pm index 20adfec..1b2551e 100644 --- a/lib/Devel/REPL/Plugin/Interrupt.pm +++ b/lib/Devel/REPL/Plugin/Interrupt.pm @@ -1,8 +1,10 @@ +use strict; +use warnings; package Devel::REPL::Plugin::Interrupt; use Devel::REPL::Plugin; use Sys::SigAction qw(set_sig_handler); -use namespace::clean -except => [ 'meta' ]; +use namespace::autoclean; around 'run' => sub { my ($orig, $self) = (shift, shift);