Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Use Terminal::ANSIColor instead of Term::ANSIColor
Because Term::ANSIColor is deprecated
See tadzik/perl6-Term-ANSIColor@be708da23d
  • Loading branch information
skaji authored and Tadeusz “tadzik” Sośnierz committed Sep 28, 2015
1 parent dd6c855 commit cd8ce4e
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 Terminal::ANSIColor; &colored } } // sub ($text, $color) { $text }
} else {
&colored = sub ($text, $color) { $text }
}
Expand Down

0 comments on commit cd8ce4e

Please sign in to comment.