[Bast-commits] r5875 - in trunk/Devel-REPL: . lib/Devel/REPL
oliver at dev.catalyst.perl.org
oliver at dev.catalyst.perl.org
Thu Apr 9 21:26:24 GMT 2009
Author: oliver
Date: 2009-04-09 22:26:24 +0100 (Thu, 09 Apr 2009)
New Revision: 5875
Modified:
trunk/Devel-REPL/Makefile.PL
trunk/Devel-REPL/lib/Devel/REPL/Plugin.pm
Log:
resolve rt.cpan#44902 warning due to deprecated use of alias_method in Plugin.pm
Modified: trunk/Devel-REPL/Makefile.PL
===================================================================
--- trunk/Devel-REPL/Makefile.PL 2009-04-09 13:35:46 UTC (rev 5874)
+++ trunk/Devel-REPL/Makefile.PL 2009-04-09 21:26:24 UTC (rev 5875)
@@ -13,7 +13,7 @@
requires 'Term::ReadLine';
# rest
-requires 'Moose' => '0.64';
+requires 'Moose' => '0.74';
requires 'MooseX::Object::Pluggable' => '0.0009';
requires 'MooseX::Getopt' => '0.15';
requires 'MooseX::AttributeHelpers' => '0.14';
Modified: trunk/Devel-REPL/lib/Devel/REPL/Plugin.pm
===================================================================
--- trunk/Devel-REPL/lib/Devel/REPL/Plugin.pm 2009-04-09 13:35:46 UTC (rev 5874)
+++ trunk/Devel-REPL/lib/Devel/REPL/Plugin.pm 2009-04-09 21:26:24 UTC (rev 5875)
@@ -8,7 +8,7 @@
sub import {
my $target = caller;
my $meta = Devel::REPL::Meta::Plugin->initialize($target);
- $meta->alias_method('meta' => sub { $meta });
+ $meta->add_method('meta' => sub { $meta });
goto &Moose::Role::import;
}
More information about the Bast-commits
mailing list