From: Karen Etheridge Date: Tue, 15 Jul 2014 03:10:45 +0000 (-0700) Subject: make room for $VERSION after package declaration (newer [PkgVersion] requires it) X-Git-Tag: v1.003026~6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FDevel-REPL.git;a=commitdiff_plain;h=6f4f9516b3422a8ce51b89b596fb808b197f833e make room for $VERSION after package declaration (newer [PkgVersion] requires it) --- diff --git a/lib/Devel/REPL/Error.pm b/lib/Devel/REPL/Error.pm index 665c198..58b1013 100644 --- a/lib/Devel/REPL/Error.pm +++ b/lib/Devel/REPL/Error.pm @@ -1,4 +1,5 @@ package Devel::REPL::Error; + use Moose; # FIXME get nothingmuch to refactor and release his useful error object diff --git a/lib/Devel/REPL/Plugin.pm b/lib/Devel/REPL/Plugin.pm index 6ef18e5..dd5cdee 100644 --- a/lib/Devel/REPL/Plugin.pm +++ b/lib/Devel/REPL/Plugin.pm @@ -1,7 +1,7 @@ -package Devel::REPL::Plugin; - use strict; use warnings; +package Devel::REPL::Plugin; + use Devel::REPL::Meta::Plugin; use Moose::Role (); diff --git a/lib/Devel/REPL/Plugin/B/Concise.pm b/lib/Devel/REPL/Plugin/B/Concise.pm index 48b8bb8..50625e6 100644 --- a/lib/Devel/REPL/Plugin/B/Concise.pm +++ b/lib/Devel/REPL/Plugin/B/Concise.pm @@ -1,14 +1,13 @@ use strict; use warnings; package Devel::REPL::Plugin::B::Concise; -use Devel::REPL::Plugin; +use Devel::REPL::Plugin; use B::Concise 0.62 (); +use namespace::autoclean; B::Concise::compileOpts qw(-nobanner); -use namespace::autoclean; - sub BEFORE_PLUGIN { my $self = shift; $self->load_plugin('Turtles'); diff --git a/lib/Devel/REPL/Plugin/CompletionDriver/Globals.pm b/lib/Devel/REPL/Plugin/CompletionDriver/Globals.pm index 76a6b0b..8d075d1 100644 --- a/lib/Devel/REPL/Plugin/CompletionDriver/Globals.pm +++ b/lib/Devel/REPL/Plugin/CompletionDriver/Globals.pm @@ -1,6 +1,7 @@ use strict; use warnings; package Devel::REPL::Plugin::CompletionDriver::Globals; + use Devel::REPL::Plugin; use Devel::REPL::Plugin::Completion; # die early if cannot load use namespace::autoclean; diff --git a/lib/Devel/REPL/Plugin/CompletionDriver/INC.pm b/lib/Devel/REPL/Plugin/CompletionDriver/INC.pm index 8478d1b..bf4e6c3 100644 --- a/lib/Devel/REPL/Plugin/CompletionDriver/INC.pm +++ b/lib/Devel/REPL/Plugin/CompletionDriver/INC.pm @@ -1,6 +1,7 @@ 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; diff --git a/lib/Devel/REPL/Plugin/CompletionDriver/Keywords.pm b/lib/Devel/REPL/Plugin/CompletionDriver/Keywords.pm index 1fc094a..d451b2e 100644 --- a/lib/Devel/REPL/Plugin/CompletionDriver/Keywords.pm +++ b/lib/Devel/REPL/Plugin/CompletionDriver/Keywords.pm @@ -1,6 +1,7 @@ use strict; use warnings; package Devel::REPL::Plugin::CompletionDriver::Keywords; + use Devel::REPL::Plugin; use Devel::REPL::Plugin::Completion; # die early if cannot load use B::Keywords qw/@Functions @Barewords/; diff --git a/lib/Devel/REPL/Plugin/CompletionDriver/LexEnv.pm b/lib/Devel/REPL/Plugin/CompletionDriver/LexEnv.pm index 63a05fd..a31abf4 100644 --- a/lib/Devel/REPL/Plugin/CompletionDriver/LexEnv.pm +++ b/lib/Devel/REPL/Plugin/CompletionDriver/LexEnv.pm @@ -1,6 +1,7 @@ use strict; use warnings; package Devel::REPL::Plugin::CompletionDriver::LexEnv; + use Devel::REPL::Plugin; use Devel::REPL::Plugin::Completion; # die early if cannot load use namespace::autoclean; diff --git a/lib/Devel/REPL/Plugin/CompletionDriver/Methods.pm b/lib/Devel/REPL/Plugin/CompletionDriver/Methods.pm index 3f7d2d6..eff0cb9 100644 --- a/lib/Devel/REPL/Plugin/CompletionDriver/Methods.pm +++ b/lib/Devel/REPL/Plugin/CompletionDriver/Methods.pm @@ -1,6 +1,7 @@ use strict; use warnings; package Devel::REPL::Plugin::CompletionDriver::Methods; + use Devel::REPL::Plugin; use Devel::REPL::Plugin::Completion; # die early if cannot load use namespace::autoclean; diff --git a/lib/Devel/REPL/Plugin/CompletionDriver/Turtles.pm b/lib/Devel/REPL/Plugin/CompletionDriver/Turtles.pm index b888503..316157d 100644 --- a/lib/Devel/REPL/Plugin/CompletionDriver/Turtles.pm +++ b/lib/Devel/REPL/Plugin/CompletionDriver/Turtles.pm @@ -1,6 +1,7 @@ use strict; use warnings; package Devel::REPL::Plugin::CompletionDriver::Turtles; + use Devel::REPL::Plugin; use Devel::REPL::Plugin::Completion; # die early if cannot load use namespace::autoclean; diff --git a/lib/Devel/REPL/Plugin/PPI.pm b/lib/Devel/REPL/Plugin/PPI.pm index 4f80f5e..2a18ff4 100644 --- a/lib/Devel/REPL/Plugin/PPI.pm +++ b/lib/Devel/REPL/Plugin/PPI.pm @@ -1,11 +1,10 @@ use strict; use warnings; package Devel::REPL::Plugin::PPI; -use Devel::REPL::Plugin; +use Devel::REPL::Plugin; use PPI; use PPI::Dumper; - use namespace::autoclean; sub BEFORE_PLUGIN { diff --git a/lib/Devel/REPL/Plugin/Packages.pm b/lib/Devel/REPL/Plugin/Packages.pm index 77fdebd..a7e13fe 100644 --- a/lib/Devel/REPL/Plugin/Packages.pm +++ b/lib/Devel/REPL/Plugin/Packages.pm @@ -1,8 +1,8 @@ use strict; use warnings; package Devel::REPL::Plugin::Packages; -use Devel::REPL::Plugin; +use Devel::REPL::Plugin; use namespace::autoclean; our $PKG_SAVE; diff --git a/lib/Devel/REPL/Plugin/Peek.pm b/lib/Devel/REPL/Plugin/Peek.pm index 96170a5..f52eb31 100644 --- a/lib/Devel/REPL/Plugin/Peek.pm +++ b/lib/Devel/REPL/Plugin/Peek.pm @@ -1,10 +1,9 @@ use strict; use warnings; package Devel::REPL::Plugin::Peek; -use Devel::REPL::Plugin; +use Devel::REPL::Plugin; use Devel::Peek qw(Dump); - use namespace::autoclean; sub BEFORE_PLUGIN { diff --git a/lib/Devel/REPL/Plugin/ShowClass.pm b/lib/Devel/REPL/Plugin/ShowClass.pm index 6388c5b..990aaa0 100644 --- a/lib/Devel/REPL/Plugin/ShowClass.pm +++ b/lib/Devel/REPL/Plugin/ShowClass.pm @@ -1,6 +1,7 @@ use strict; use warnings; package Devel::REPL::Plugin::ShowClass; + use Devel::REPL::Plugin; use namespace::autoclean; diff --git a/lib/Devel/REPL/Plugin/Turtles.pm b/lib/Devel/REPL/Plugin/Turtles.pm index b3b8abb..a908c8f 100644 --- a/lib/Devel/REPL/Plugin/Turtles.pm +++ b/lib/Devel/REPL/Plugin/Turtles.pm @@ -1,10 +1,9 @@ use strict; use warnings; package Devel::REPL::Plugin::Turtles; -use Devel::REPL::Plugin; +use Devel::REPL::Plugin; use Scalar::Util qw(reftype); - use namespace::autoclean; has default_command_prefix => (