git-svn-id: http://dev.catalyst.perl.org/repos/bast/trunk/Devel-REPL@3765
bd8105ee-0ff8-0310-8827-fb3f25b6796d
# get $self, so we localize $SIG{__WARN__} during eval so it can get
# error_color
-around execute => sub {
+sub _wrap_warn {
my $orig = shift;
my $self = shift;
$orig->($self, @_);
};
+around compile => \&_wrap_warn;
+around execute => \&_wrap_warn;
+
1;
__END__