$> text_colorizer - transforms a text file with embeded color tags to HTML or ANSI
$> text_colorizer [options] file_name
Use A<ansi_color on_ansi_color> tags where you want the color to change, IE:
display_help() A<bright_green>unless @ARGV ;A<bright_white> use A<bright_red>Data::TreeDumperA<bright_white> ; use Text::Colorizer A<yellow>qw() ;
displays as (can't be rendered in a man page but will be in the html documentation):
display_help() unless @ARGV ; use Data::TreeDumper ; use Text::Colorizer qw() ;
The start color is bright_white rendered on a black background.
format|f ANSI or HTML color_file|c file containing color definitions
Non zero in case of error.
Nadim ibn hamouda el Khemir CPAN ID: NKH mailto: nkh@cpan.org
To install Text::Colorizer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::Colorizer
CPAN shell
perl -MCPAN -e shell install Text::Colorizer
For more information on module installation, please visit the detailed CPAN module installation guide.