resolve rt.cpan#43808 infinite recursion on Plugin::Commands when Plugin::Packages...
[p5sagit/Devel-REPL.git] / lib / Devel / REPL / Plugin / Commands.pm
index 953009c..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 {});
   }
@@ -62,3 +63,12 @@ around 'compile' => sub {
 };
 
 1;
+
+__END__
+
+=head1 NAME
+
+Devel::REPL::Plugin::Commands - Generic command creation plugin using injected functions
+
+=cut
+