From: Jesse Luehrs Date: Mon, 27 Sep 2010 17:30:17 +0000 (-0500) Subject: this is unnecessary, and will warn on next moose release X-Git-Tag: v1.003015~20 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e5c58ffa1aa14e3d244286621b49f7ff7e07ce8e;p=p5sagit%2FDevel-REPL.git this is unnecessary, and will warn on next moose release --- diff --git a/lib/Devel/REPL/Plugin.pm b/lib/Devel/REPL/Plugin.pm index f7b9d67..6ef18e5 100644 --- a/lib/Devel/REPL/Plugin.pm +++ b/lib/Devel/REPL/Plugin.pm @@ -7,8 +7,7 @@ use Moose::Role (); sub import { my $target = caller; - my $meta = Devel::REPL::Meta::Plugin->initialize($target); - $meta->add_method('meta' => sub { $meta }); + Devel::REPL::Meta::Plugin->initialize($target); goto &Moose::Role::import; }