X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FDevel-REPL.git;a=blobdiff_plain;f=lib%2FDevel%2FREPL%2FPlugin%2FPeek.pm;h=adb5667cba75f927c8905ab2e3538ec8d91aa0fc;hp=8e772eec7676edce4608f0b59bffcd1954960031;hb=3a40071593734bf02e987a076b6408095ecfad41;hpb=839614c75c856e2d386fd0c5a0e832142fab5387 diff --git a/lib/Devel/REPL/Plugin/Peek.pm b/lib/Devel/REPL/Plugin/Peek.pm index 8e772ee..adb5667 100644 --- a/lib/Devel/REPL/Plugin/Peek.pm +++ b/lib/Devel/REPL/Plugin/Peek.pm @@ -7,7 +7,10 @@ use Devel::Peek qw(Dump); use namespace::clean -except => [ 'meta' ]; -with qw(Devel::REPL::Plugin::Turtles); +sub BEFORE_PLUGIN { + my $self = shift; + $self->load_plugin('Turtles'); +} sub expr_command_peek { my ( $self, $eval, $code ) = @_;