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=4452e1476985cdda8d2e87d77fa2ae8c1eb16106;hp=e3d0725f70cf8feb5bb18db8ba234b39c3769939;hb=HEAD;hpb=6a5409bc859187db7d7553e4c19a559aeeba6430 diff --git a/lib/Devel/REPL/Plugin/Colors.pm b/lib/Devel/REPL/Plugin/Colors.pm index e3d0725..4452e14 100644 --- a/lib/Devel/REPL/Plugin/Colors.pm +++ b/lib/Devel/REPL/Plugin/Colors.pm @@ -1,8 +1,13 @@ +use strict; +use warnings; package Devel::REPL::Plugin::Colors; +# ABSTRACT: Add color to return values, warnings, and errors + +our $VERSION = '1.003030'; use Devel::REPL::Plugin; use Term::ANSIColor; -use namespace::clean -except => [ 'meta' ]; +use namespace::autoclean; has normal_color => ( is => 'rw', lazy => 1, @@ -61,15 +66,10 @@ around execute => \&_wrap_warn; __END__ -=head1 NAME - -Devel::REPL::Plugin::Colors - add color to return values, warnings, and errors +=pod =head1 SYNOPSIS - #!/usr/bin/perl - - use lib './lib'; use Devel::REPL; my $repl = Devel::REPL->new;