resolve rt.cpan#43808 infinite recursion on Plugin::Commands when Plugin::Packages...
[p5sagit/Devel-REPL.git] / 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 {});
   }