Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
eval -> EVAL in Pod::To::Text
  • Loading branch information
timo committed Feb 19, 2014
1 parent fafd39e commit 7f4e733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Pod/To/Text.pm
Expand Up @@ -6,7 +6,7 @@ method render($pod) {

my &colored;
if %*ENV<POD_TO_TEXT_ANSI> {
&colored = try { eval q{ use Term::ANSIColor; &colored } } // sub ($text, $color) { $text }
&colored = try { EVAL q{ use Term::ANSIColor; &colored } } // sub ($text, $color) { $text }
} else {
&colored = sub ($text, $color) { $text }
}
Expand Down

0 comments on commit 7f4e733

Please sign in to comment.