X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FDevel-REPL.git;a=blobdiff_plain;f=lib%2FDevel%2FREPL%2FPlugin%2FColors.pm;h=bdc5e9444be6731a691cd3d2049412fb355a78f1;hp=46b30bb30490bd082cdc0b40473510e7e8d6a841;hb=refs%2Fheads%2Fmoo;hpb=9b7bfb6ac233dca407f12db47aa8dda7c9c1d338 diff --git a/lib/Devel/REPL/Plugin/Colors.pm b/lib/Devel/REPL/Plugin/Colors.pm index 46b30bb..bdc5e94 100644 --- a/lib/Devel/REPL/Plugin/Colors.pm +++ b/lib/Devel/REPL/Plugin/Colors.pm @@ -2,16 +2,16 @@ package Devel::REPL::Plugin::Colors; use Devel::REPL::Plugin; use Term::ANSIColor; -use namespace::autoclean; +use namespace::sweep; has normal_color => ( is => 'rw', lazy => 1, - default => 'green', + default => sub { 'green' }, ); has error_color => ( is => 'rw', lazy => 1, - default => 'bold red', + default => sub { 'bold red' }, ); around format_error => sub {