}
use strict;
+use warnings;
use Test::More;
use Safe;
plan(tests => 6);
$c->permit(qw(require caller));
my $r = $c->reval(q!
+ no warnings 'redefine';
sub UNIVERSAL::isa { "pwned" }
(bless[],"Foo")->isa("Foo");
!);
sub Foo::foo {}
$r = $c->reval(q!
+ no warnings 'redefine';
sub UNIVERSAL::can { "pwned" }
(bless[],"Foo")->can("foo");
!);