resolve rt.cpan#43808 infinite recursion on Plugin::Commands when Plugin::Packages...
oliver [Thu, 9 Apr 2009 21:33:40 +0000 (21:33 +0000)]
git-svn-id: http://dev.catalyst.perl.org/repos/bast/trunk/Devel-REPL@5876 bd8105ee-0ff8-0310-8827-fb3f25b6796d

lib/Devel/REPL/Plugin/Commands.pm

index a4c8fcf..645d842 100644 (file)
@@ -13,6 +13,7 @@ has 'command_set' => (
 
 sub BEFORE_PLUGIN {
   my ($self) = @_;
+  $self->load_plugin('Packages');
   unless ($self->can('setup_commands')) {
     $self->meta->add_method('setup_commands' => sub {});
   }