# New Ticket Created by  Shoichi Kaji 
# Please include the string:  [perl #126211]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=126211 >


As in https://github.com/tadzik/perl6-Term-ANSIColor/commit/be708da23d,
Term::ANSIColor is deprecated. So use Terminal::ANSIColor instead.
>From 0c682922b13d12f3179555efda6cd1345cb3c372 Mon Sep 17 00:00:00 2001
From: Shoichi Kaji <sk...@cpan.org>
Date: Mon, 28 Sep 2015 22:13:27 +0900
Subject: [PATCH] Use Terminal::ANSIColor instead of Term::ANSIColor

Because Term::ANSIColor is deprecated
See https://github.com/tadzik/perl6-Term-ANSIColor/commit/be708da23d
---
 lib/Pod/To/Text.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Pod/To/Text.pm b/lib/Pod/To/Text.pm
index 8a20605..118466a 100644
--- a/lib/Pod/To/Text.pm
+++ b/lib/Pod/To/Text.pm
@@ -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 }
 }
-- 
2.5.3

Reply via email to