[Bps-public-commit] r13441 - in Carp-REPL: .

sartak at bestpractical.com sartak at bestpractical.com
Thu Jun 19 20:56:09 EDT 2008


Author: sartak
Date: Thu Jun 19 20:56:08 2008
New Revision: 13441

Modified:
   Carp-REPL/   (props changed)
   Carp-REPL/lib/Devel/REPL/Plugin/Carp/REPL.pm

Log:
 r62750 at dhcp184:  sartak | 2008-06-19 19:53:35 -0500
 Fix the loading of LexEnv which now uses the standard Devel::REPL way


Modified: Carp-REPL/lib/Devel/REPL/Plugin/Carp/REPL.pm
==============================================================================
--- Carp-REPL/lib/Devel/REPL/Plugin/Carp/REPL.pm	(original)
+++ Carp-REPL/lib/Devel/REPL/Plugin/Carp/REPL.pm	Thu Jun 19 20:56:08 2008
@@ -1,10 +1,13 @@
 package Devel::REPL::Plugin::Carp::REPL;
-use Moose::Role;
+use Devel::REPL::Plugin;
 use namespace::clean -except => [ 'meta' ];
 use Devel::LexAlias;
 use Data::Dump::Streamer;
 
-with qw(Devel::REPL::Plugin::LexEnv);
+sub BEFORE_PLUGIN {
+    my $self = shift;
+    $self->load_plugin('LexEnv');
+}
 
 has 'environments' => (
     isa => 'ArrayRef',



More information about the Bps-public-commit mailing list