make room for $VERSION after package declaration (newer [PkgVersion] requires it)
[p5sagit/Devel-REPL.git] / lib / Devel / REPL / Plugin / CompletionDriver / INC.pm
index 0daf803..bf4e6c3 100644 (file)
@@ -1,8 +1,12 @@
+use strict;
+use warnings;
 package Devel::REPL::Plugin::CompletionDriver::INC;
+
 use Devel::REPL::Plugin;
+use Devel::REPL::Plugin::Completion;    # die early if cannot load
 use File::Next;
 use File::Spec;
-use namespace::clean -except => [ 'meta' ];
+use namespace::autoclean;
 
 sub BEFORE_PLUGIN {
     my $self = shift;
@@ -63,7 +67,7 @@ around complete => sub {
   my @found;
 
   # most VCSes don't litter every single fucking directory with garbage. if you
-  # know of any other, just stick them in here. noone wants to complete
+  # know of any other, just stick them in here. No one wants to complete
   # Devel::REPL::Plugin::.svn
   my %ignored =
   (
@@ -99,7 +103,7 @@ around complete => sub {
     }
   };
 
-  # look through all of 
+  # look through all of
   INC: for (@INC)
   {
     my $path = $_;