X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FDevel-REPL.git;a=blobdiff_plain;f=lib%2FDevel%2FREPL%2FPlugin%2FCommands.pm;h=645d842817a6e99766d44121020f39699881310b;hp=953009c8dad7a0b631c77e2eb6d79bb48b31d30d;hb=deda07fbc838971b06930a8f953928fe9d4786a9;hpb=6edfdc075bf84142924281bafdd9f75f08a9b93d diff --git a/lib/Devel/REPL/Plugin/Commands.pm b/lib/Devel/REPL/Plugin/Commands.pm index 953009c..645d842 100644 --- a/lib/Devel/REPL/Plugin/Commands.pm +++ b/lib/Devel/REPL/Plugin/Commands.pm @@ -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 +