From: Sartak Date: Sat, 31 May 2008 16:23:06 +0000 (+0000) Subject: r61342@onn: sartak | 2008-05-31 12:21:47 -0400 X-Git-Tag: v1.003015~89 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6a5409bc859187db7d7553e4c19a559aeeba6430;p=p5sagit%2FDevel-REPL.git r61342@onn: sartak | 2008-05-31 12:21:47 -0400 Use Devel::REPL::Plugin instead of Moose::Role git-svn-id: http://dev.catalyst.perl.org/repos/bast/trunk/Devel-REPL@4446 bd8105ee-0ff8-0310-8827-fb3f25b6796d --- diff --git a/lib/Devel/REPL/Plugin/Colors.pm b/lib/Devel/REPL/Plugin/Colors.pm index 2fc6e93..e3d0725 100644 --- a/lib/Devel/REPL/Plugin/Colors.pm +++ b/lib/Devel/REPL/Plugin/Colors.pm @@ -1,6 +1,6 @@ package Devel::REPL::Plugin::Colors; -use Moose::Role; +use Devel::REPL::Plugin; use Term::ANSIColor; use namespace::clean -except => [ 'meta' ]; diff --git a/lib/Devel/REPL/Plugin/DDS.pm b/lib/Devel/REPL/Plugin/DDS.pm index 50464e0..fe35319 100644 --- a/lib/Devel/REPL/Plugin/DDS.pm +++ b/lib/Devel/REPL/Plugin/DDS.pm @@ -1,6 +1,6 @@ package Devel::REPL::Plugin::DDS; -use Moose::Role; +use Devel::REPL::Plugin; use Data::Dump::Streamer (); around 'format_result' => sub { diff --git a/lib/Devel/REPL/Plugin/DumpHistory.pm b/lib/Devel/REPL/Plugin/DumpHistory.pm index 71bcd7c..ed6e42b 100644 --- a/lib/Devel/REPL/Plugin/DumpHistory.pm +++ b/lib/Devel/REPL/Plugin/DumpHistory.pm @@ -1,6 +1,6 @@ package Devel::REPL::Plugin::DumpHistory; -use Moose::Role; +use Devel::REPL::Plugin; use namespace::clean -except => [ 'meta' ]; ## Seems to be a sequence issue with requires diff --git a/lib/Devel/REPL/Plugin/FancyPrompt.pm b/lib/Devel/REPL/Plugin/FancyPrompt.pm index 557b274..1e7b40c 100644 --- a/lib/Devel/REPL/Plugin/FancyPrompt.pm +++ b/lib/Devel/REPL/Plugin/FancyPrompt.pm @@ -1,6 +1,6 @@ package Devel::REPL::Plugin::FancyPrompt; -use Moose::Role; +use Devel::REPL::Plugin; use namespace::clean -except => [ 'meta' ]; has 'fancy_prompt' => ( diff --git a/lib/Devel/REPL/Plugin/FindVariable.pm b/lib/Devel/REPL/Plugin/FindVariable.pm index d704dea..9c06906 100644 --- a/lib/Devel/REPL/Plugin/FindVariable.pm +++ b/lib/Devel/REPL/Plugin/FindVariable.pm @@ -1,6 +1,6 @@ package Devel::REPL::Plugin::FindVariable; -use Moose::Role; +use Devel::REPL::Plugin; use namespace::clean -except => [ 'meta' ]; sub find_variable { diff --git a/lib/Devel/REPL/Plugin/History.pm b/lib/Devel/REPL/Plugin/History.pm index 5cbff25..e3de152 100644 --- a/lib/Devel/REPL/Plugin/History.pm +++ b/lib/Devel/REPL/Plugin/History.pm @@ -1,6 +1,6 @@ package Devel::REPL::Plugin::History; -use Moose::Role; +use Devel::REPL::Plugin; use namespace::clean -except => [ 'meta' ]; has 'history' => ( diff --git a/lib/Devel/REPL/Plugin/Interrupt.pm b/lib/Devel/REPL/Plugin/Interrupt.pm index fdb2b5a..0df8cb0 100644 --- a/lib/Devel/REPL/Plugin/Interrupt.pm +++ b/lib/Devel/REPL/Plugin/Interrupt.pm @@ -1,6 +1,6 @@ package Devel::REPL::Plugin::Interrupt; -use Moose::Role; +use Devel::REPL::Plugin; use namespace::clean -except => [ 'meta' ]; around 'eval' => sub { diff --git a/lib/Devel/REPL/Plugin/LexEnv.pm b/lib/Devel/REPL/Plugin/LexEnv.pm index 626bafd..4e01649 100644 --- a/lib/Devel/REPL/Plugin/LexEnv.pm +++ b/lib/Devel/REPL/Plugin/LexEnv.pm @@ -1,6 +1,6 @@ package Devel::REPL::Plugin::LexEnv; -use Moose::Role; +use Devel::REPL::Plugin; use namespace::clean -except => [ 'meta' ]; use Lexical::Persistence; diff --git a/lib/Devel/REPL/Plugin/MultiLine/PPI.pm b/lib/Devel/REPL/Plugin/MultiLine/PPI.pm index fba07dd..1db70ef 100644 --- a/lib/Devel/REPL/Plugin/MultiLine/PPI.pm +++ b/lib/Devel/REPL/Plugin/MultiLine/PPI.pm @@ -1,6 +1,6 @@ package Devel::REPL::Plugin::MultiLine::PPI; -use Moose::Role; +use Devel::REPL::Plugin; use PPI; use namespace::clean -except => [ 'meta' ]; diff --git a/lib/Devel/REPL/Plugin/NewlineHack.pm b/lib/Devel/REPL/Plugin/NewlineHack.pm index 74b852a..8f2a29d 100644 --- a/lib/Devel/REPL/Plugin/NewlineHack.pm +++ b/lib/Devel/REPL/Plugin/NewlineHack.pm @@ -6,7 +6,7 @@ package Devel::REPL::Plugin::NewlineHack; -use Moose::Role; +use Devel::REPL::Plugin; use namespace::clean -except => [ 'meta' ]; warn < [ 'meta' ]; diff --git a/lib/Devel/REPL/Plugin/OutputCache.pm b/lib/Devel/REPL/Plugin/OutputCache.pm index 38374e8..f1052e1 100644 --- a/lib/Devel/REPL/Plugin/OutputCache.pm +++ b/lib/Devel/REPL/Plugin/OutputCache.pm @@ -1,6 +1,6 @@ package Devel::REPL::Plugin::OutputCache; -use Moose::Role; +use Devel::REPL::Plugin; use namespace::clean -except => [ 'meta' ]; has output_cache => ( diff --git a/lib/Devel/REPL/Plugin/ReadLineHistory.pm b/lib/Devel/REPL/Plugin/ReadLineHistory.pm index f3f46bc..1830395 100644 --- a/lib/Devel/REPL/Plugin/ReadLineHistory.pm +++ b/lib/Devel/REPL/Plugin/ReadLineHistory.pm @@ -5,7 +5,7 @@ package Devel::REPL::Plugin::ReadLineHistory; -use Moose::Role; +use Devel::REPL::Plugin; my $hist_file=$ENV{PERLREPL_HISTFILE} || (($ENV{HOME} || (getpwuid($<))[7]) . "/.perlreplhist"); diff --git a/lib/Devel/REPL/Plugin/Refresh.pm b/lib/Devel/REPL/Plugin/Refresh.pm index 93f7eab..a94d5b6 100644 --- a/lib/Devel/REPL/Plugin/Refresh.pm +++ b/lib/Devel/REPL/Plugin/Refresh.pm @@ -1,6 +1,6 @@ package Devel::REPL::Plugin::Refresh; -use Moose::Role; +use Devel::REPL::Plugin; use namespace::clean -except => [ 'meta' ]; use Module::Refresh; diff --git a/lib/Devel/REPL/Plugin/ShowClass.pm b/lib/Devel/REPL/Plugin/ShowClass.pm index 309fed2..b931cf1 100644 --- a/lib/Devel/REPL/Plugin/ShowClass.pm +++ b/lib/Devel/REPL/Plugin/ShowClass.pm @@ -1,5 +1,5 @@ package Devel::REPL::Plugin::ShowClass; -use Moose::Role; +use Devel::REPL::Plugin; use namespace::clean -except => [ 'meta' ]; has 'metaclass_cache' => ( diff --git a/lib/Devel/REPL/Plugin/Timing.pm b/lib/Devel/REPL/Plugin/Timing.pm index 0b919cc..4eb0d27 100644 --- a/lib/Devel/REPL/Plugin/Timing.pm +++ b/lib/Devel/REPL/Plugin/Timing.pm @@ -1,6 +1,6 @@ package Devel::REPL::Plugin::Timing; -use Moose::Role; +use Devel::REPL::Plugin; use Time::HiRes 'time'; use namespace::clean -except => [ 'meta' ];