increment $VERSION after 1.003028 release
[p5sagit/Devel-REPL.git] / lib / Devel / REPL / Plugin / CompletionDriver / Globals.pm
index 0671f08..13e3d11 100644 (file)
@@ -1,6 +1,18 @@
+use strict;
+use warnings;
 package Devel::REPL::Plugin::CompletionDriver::Globals;
+# ABSTRACT: Complete global variables, packages, namespaced functions
+
+our $VERSION = '1.003029';
+
 use Devel::REPL::Plugin;
-use namespace::clean -except => [ 'meta' ];
+use Devel::REPL::Plugin::Completion;    # die early if cannot load
+use namespace::autoclean;
+
+sub BEFORE_PLUGIN {
+    my $self = shift;
+    $self->load_plugin('Completion');
+}
 
 around complete => sub {
   my $orig = shift;
@@ -52,13 +64,10 @@ around complete => sub {
 
 __END__
 
-=head1 NAME
-
-Devel::REPL::Plugin::CompletionDriver::Globals - Complete global variables, packages, namespaced functions
+=pod
 
 =head1 AUTHOR
 
 Shawn M Moore, C<< <sartak at gmail dot com> >>
 
 =cut
-