projects
/
p5sagit/Devel-REPL.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Return a reference to the correct lexical variable (not the copy)
[p5sagit/Devel-REPL.git]
/
lib
/
Devel
/
REPL
/
Plugin
/
Colors.pm
diff --git
a/lib/Devel/REPL/Plugin/Colors.pm
b/lib/Devel/REPL/Plugin/Colors.pm
index
17592b8
..
2fc6e93
100644
(file)
--- a/
lib/Devel/REPL/Plugin/Colors.pm
+++ b/
lib/Devel/REPL/Plugin/Colors.pm
@@
-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, @_),