X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FDevel-REPL.git;a=blobdiff_plain;f=lib%2FDevel%2FREPL%2FProfile%2FDefault.pm;h=2baf93e9879048b04604c9a5de6a99267c5e5f37;hp=8bfa69d290f8eeace3ff63af46d660149992646d;hb=5ac988901b5ccbf3b31cdf980534d0c9631d9e4a;hpb=b605fe37f095e8319dd99f864ab6fc097b665162 diff --git a/lib/Devel/REPL/Profile/Default.pm b/lib/Devel/REPL/Profile/Default.pm index 8bfa69d..2baf93e 100644 --- a/lib/Devel/REPL/Profile/Default.pm +++ b/lib/Devel/REPL/Profile/Default.pm @@ -1,29 +1,12 @@ package Devel::REPL::Profile::Default; -use Moose; -use namespace::clean -except => [ 'meta' ]; +our $VERSION = '1.003028'; -with 'Devel::REPL::Profile'; +use Moose; +use namespace::autoclean; -sub plugins { qw( - Colors - Completion - CompletionDriver::INC - CompletionDriver::LexEnv - CompletionDriver::Keywords - CompletionDriver::Methods - History - LexEnv - DDS - Packages - Commands - MultiLine::PPI - ReadLineHistory -);} +# for backcompat only - Default was renamed to Standard -sub apply_profile { - my ($self, $repl) = @_; - $repl->load_plugin($_) for $self->plugins; -} +extends 'Devel::REPL::Profile::Standard'; 1;