diff --git a/lib/Term/ANSIColor.pm b/lib/Term/ANSIColor.pm index db32908..86be65c 100644 --- a/lib/Term/ANSIColor.pm +++ b/lib/Term/ANSIColor.pm @@ -41,7 +41,7 @@ our $AUTOLOAD; # against circular module loading (not that we load any modules, but # consistency is good). BEGIN { - $VERSION = '5.01'; + $VERSION = '5.02'; # All of the basic supported constants, used in %EXPORT_TAGS. my @colorlist = qw( @@ -653,7 +653,7 @@ undef CLICOLOR NNN GGG RRR print "This text is normal.\n"; print colored(['yellow on_magenta'], 'Yellow on magenta.', "\n"); print colored(['red on_bright_yellow'], 'Red on bright yellow.', "\n"); - print colored(['bright_red on_black'], 'Bright red on black.', "\n"); + print colored(['bright_red', 'on_black'], 'Bright red on black.', "\n"); print "\n"; # Map escape sequences back to color names. @@ -702,15 +702,16 @@ undef CLICOLOR NNN GGG RRR =head1 DESCRIPTION -This module has two interfaces, one through color() and colored() and the -other through constants. It also offers the utility functions uncolor(), -colorstrip(), colorvalid(), and coloralias(), which have to be explicitly -imported to be used (see L). +This module has two interfaces, one through C and C, +and the other through constants. It also offers the utility functions +C, C, C, and C, +which have to be explicitly imported to be used (see L). -If you are using Term::ANSIColor in a console command, consider supporting the -CLICOLOR standard. See L for more information. +If you are using C in a console command, consider supporting +the C standard. +See L for more information. -See L for the versions of Term::ANSIColor that introduced +See L for the versions of C that introduced particular features and the versions of Perl that included them. =head2 Supported Colors