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
package Devel::REPL::Plugin::Colors;
-use Moose::Role;
+use Devel::REPL::Plugin;
use Term::ANSIColor;
use namespace::clean -except => [ 'meta' ];
package Devel::REPL::Plugin::DDS;
-use Moose::Role;
+use Devel::REPL::Plugin;
use Data::Dump::Streamer ();
around 'format_result' => sub {
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
package Devel::REPL::Plugin::FancyPrompt;
-use Moose::Role;
+use Devel::REPL::Plugin;
use namespace::clean -except => [ 'meta' ];
has 'fancy_prompt' => (
package Devel::REPL::Plugin::FindVariable;
-use Moose::Role;
+use Devel::REPL::Plugin;
use namespace::clean -except => [ 'meta' ];
sub find_variable {
package Devel::REPL::Plugin::History;
-use Moose::Role;
+use Devel::REPL::Plugin;
use namespace::clean -except => [ 'meta' ];
has 'history' => (
package Devel::REPL::Plugin::Interrupt;
-use Moose::Role;
+use Devel::REPL::Plugin;
use namespace::clean -except => [ 'meta' ];
around 'eval' => sub {
package Devel::REPL::Plugin::LexEnv;
-use Moose::Role;
+use Devel::REPL::Plugin;
use namespace::clean -except => [ 'meta' ];
use Lexical::Persistence;
package Devel::REPL::Plugin::MultiLine::PPI;
-use Moose::Role;
+use Devel::REPL::Plugin;
use PPI;
use namespace::clean -except => [ 'meta' ];
package Devel::REPL::Plugin::NewlineHack;
-use Moose::Role;
+use Devel::REPL::Plugin;
use namespace::clean -except => [ 'meta' ];
warn <<EOW;
package Devel::REPL::Plugin::Nopaste;
-use Moose::Role;
+use Devel::REPL::Plugin;
use MooseX::AttributeHelpers;
use namespace::clean -except => [ 'meta' ];
package Devel::REPL::Plugin::OutputCache;
-use Moose::Role;
+use Devel::REPL::Plugin;
use namespace::clean -except => [ 'meta' ];
has output_cache => (
package Devel::REPL::Plugin::ReadLineHistory;
-use Moose::Role;
+use Devel::REPL::Plugin;
my $hist_file=$ENV{PERLREPL_HISTFILE} ||
(($ENV{HOME} || (getpwuid($<))[7]) . "/.perlreplhist");
package Devel::REPL::Plugin::Refresh;
-use Moose::Role;
+use Devel::REPL::Plugin;
use namespace::clean -except => [ 'meta' ];
use Module::Refresh;
package Devel::REPL::Plugin::ShowClass;
-use Moose::Role;
+use Devel::REPL::Plugin;
use namespace::clean -except => [ 'meta' ];
has 'metaclass_cache' => (
package Devel::REPL::Plugin::Timing;
-use Moose::Role;
+use Devel::REPL::Plugin;
use Time::HiRes 'time';
use namespace::clean -except => [ 'meta' ];