X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDevel%2FREPL%2FProfile%2FMinimal.pm;fp=lib%2FDevel%2FREPL%2FProfile%2FMinimal.pm;h=2b03ac92243e47fac752d6695a94675ce96e3ae4;hb=3bda999e63a8bcc381bed8bd9d95bbba9af72e47;hp=0000000000000000000000000000000000000000;hpb=d8153bec650b92d2cd68449a148c393c51e877e9;p=p5sagit%2FDevel-REPL.git diff --git a/lib/Devel/REPL/Profile/Minimal.pm b/lib/Devel/REPL/Profile/Minimal.pm new file mode 100644 index 0000000..2b03ac9 --- /dev/null +++ b/lib/Devel/REPL/Profile/Minimal.pm @@ -0,0 +1,17 @@ +package Devel::REPL::Profile::Minimal; + +use Moose; +use namespace::clean -except => [ 'meta' ]; + +with 'Devel::REPL::Profile'; + +sub plugins { + qw(History LexEnv DDS Packages Commands MultiLine::PPI); +} + +sub apply_profile { + my ($self, $repl) = @_; + $repl->load_plugin($_) for $self->plugins; +} + +1;