make "perl -c script/re.pl" not start up the REPL
[p5sagit/Devel-REPL.git] / lib / Devel / REPL / Plugin / DumpHistory.pm
index ed6e42b..12070f6 100644 (file)
@@ -1,7 +1,9 @@
+use strict;
+use warnings;
 package Devel::REPL::Plugin::DumpHistory;
 
 use Devel::REPL::Plugin;
-use namespace::clean -except => [ 'meta' ];
+use namespace::autoclean;
 
 ## Seems to be a sequence issue with requires
 # requires qw{ history }; 
@@ -48,9 +50,6 @@ the history.
 
 =head1 SYNOPSIS
 
-    #!/usr/bin/perl 
-
-    use lib './lib';
     use Devel::REPL;
 
     my $repl = Devel::REPL->new;