New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Terminal::ANSIColor instead of Term::ANSIColor #4601
Labels
Comments
From @skajiAs in tadzik/perl6-Term-ANSIColor@be708da23d, |
From @skaji0001-Use-Terminal-ANSIColor-instead-of-Term-ANSIColor.patchFrom 0c682922b13d12f3179555efda6cd1345cb3c372 Mon Sep 17 00:00:00 2001
From: Shoichi Kaji <skaji@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
|
From @usev6Patch was applied with commit cd8ce4e639. I'm closing this ticket as 'resolved'. |
1 similar comment
From @usev6Patch was applied with commit cd8ce4e639. I'm closing this ticket as 'resolved'. |
@usev6 - Status changed from 'new' to 'resolved' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Migrated from rt.perl.org#126211 (status was 'resolved')
Searchable as RT126211$
The text was updated successfully, but these errors were encountered: