1 |
commit: d100b2ed85c457f5d387c0f3666050a32b48d74d |
2 |
Author: Kent Fredric <kentfredric <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Jul 31 17:10:16 2012 +0000 |
4 |
Commit: Kent Fredric <kentfredric <AT> gmail <DOT> com> |
5 |
CommitDate: Tue Jul 31 17:10:16 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/perl-overlay.git;a=commit;h=d100b2ed |
7 |
|
8 |
[scripts] lib/coloriterator : remove monkey patch support for ITALIC using now native support |
9 |
|
10 |
--- |
11 |
scripts/lib/coloriterator.pm | 10 +--------- |
12 |
1 files changed, 1 insertions(+), 9 deletions(-) |
13 |
|
14 |
diff --git a/scripts/lib/coloriterator.pm b/scripts/lib/coloriterator.pm |
15 |
index 3fcce3a..327815b 100644 |
16 |
--- a/scripts/lib/coloriterator.pm |
17 |
+++ b/scripts/lib/coloriterator.pm |
18 |
@@ -22,15 +22,7 @@ package coloriterator; |
19 |
|
20 |
use Sub::Exporter -setup => { exports => [ coloriser => \&build_coloriser ], }; |
21 |
|
22 |
-use Term::ANSIColor qw( :constants ); |
23 |
- |
24 |
-BEGIN { |
25 |
- $Term::ANSIColor::ATTRIBUTES{italic} = 3; |
26 |
-} |
27 |
- |
28 |
-sub ITALIC() { |
29 |
- Term::ANSIColor::ITALIC(@_); |
30 |
-} |
31 |
+use Term::ANSIColor 3.020 qw( :constants ); |
32 |
|
33 |
sub build_coloriser { |
34 |
my ( $class, $name, $args ) = @_; |