Fixed History to work with ReadLineHistory
[p5sagit/Devel-REPL.git] / lib / Devel / REPL / Plugin / Colors.pm
index 17592b8..e3d0725 100644 (file)
@@ -1,6 +1,6 @@
 package Devel::REPL::Plugin::Colors;
 
-use Moose::Role;
+use Devel::REPL::Plugin;
 use Term::ANSIColor;
 use namespace::clean -except => [ 'meta' ];
 
@@ -26,6 +26,7 @@ around format_error => sub {
 around format_result => sub {
   my $orig = shift;
   my $self = shift;
+  no warnings 'uninitialized';
   return join "", (
     color($self->normal_color),
     $orig->($self, @_),