[Bps-public-commit] r12397 - in Carp-REPL: . lib/Carp
sartak at bestpractical.com
sartak at bestpractical.com
Fri May 16 08:50:13 EDT 2008
Author: sartak
Date: Fri May 16 08:50:11 2008
New Revision: 12397
Modified:
Carp-REPL/ (props changed)
Carp-REPL/lib/Carp/REPL.pm
Carp-REPL/lib/Devel/REPL/Plugin/LexEnvCarp.pm
Log:
r56010 at onn: sartak | 2008-05-16 08:44:19 -0400
Use "with LexEnv" in LexEnvCarp instead of composing it in the calling code
Modified: Carp-REPL/lib/Carp/REPL.pm
==============================================================================
--- Carp-REPL/lib/Carp/REPL.pm (original)
+++ Carp-REPL/lib/Carp/REPL.pm Fri May 16 08:50:11 2008
@@ -148,7 +148,6 @@
if ($noprofile)
{
$repl = $runner = Devel::REPL->new;
- $repl->load_plugin('LexEnv');
}
else
{
Modified: Carp-REPL/lib/Devel/REPL/Plugin/LexEnvCarp.pm
==============================================================================
--- Carp-REPL/lib/Devel/REPL/Plugin/LexEnvCarp.pm (original)
+++ Carp-REPL/lib/Devel/REPL/Plugin/LexEnvCarp.pm Fri May 16 08:50:11 2008
@@ -6,6 +6,8 @@
use Devel::LexAlias;
use Data::Dump::Streamer;
+with qw(Devel::REPL::Plugin::LexEnv);
+
has 'environments' => (
isa => 'ArrayRef',
is => 'rw',
More information about the Bps-public-commit
mailing list