X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FDevel-REPL.git;a=blobdiff_plain;f=lib%2FDevel%2FREPL%2FPlugin%2FCompletionDriver%2FGlobals.pm;h=3133a292d6afe967e9d67ff5c0ea0d42f4fee1fa;hp=df2f900d077ebe55488c4346419811d73774bb17;hb=e2d0b0198529e2e06593df8ebab7a8413bc932e1;hpb=cfd1094b45c394258ccda08216f1435bf40e1d50 diff --git a/lib/Devel/REPL/Plugin/CompletionDriver/Globals.pm b/lib/Devel/REPL/Plugin/CompletionDriver/Globals.pm index df2f900..3133a29 100644 --- a/lib/Devel/REPL/Plugin/CompletionDriver/Globals.pm +++ b/lib/Devel/REPL/Plugin/CompletionDriver/Globals.pm @@ -1,6 +1,11 @@ package Devel::REPL::Plugin::CompletionDriver::Globals; use Devel::REPL::Plugin; -use namespace::clean -except => [ 'meta' ]; +use namespace::sweep; + +sub BEFORE_PLUGIN { + my $self = shift; + $self->load_plugin('Completion'); +} around complete => sub { my $orig = shift; @@ -56,5 +61,9 @@ __END__ Devel::REPL::Plugin::CompletionDriver::Globals - Complete global variables, packages, namespaced functions +=head1 AUTHOR + +Shawn M Moore, C<< >> + =cut