Text::ColorizerCreate colored text from text and color description | |
Download |
Text::Colorizer Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Nadim Khemir
- Publisher web site:
- http://search.cpan.org/~nkh/
Text::Colorizer Tags
Text::Colorizer Description
Create colored text from text and color description Text::Colorizer is a Perl module with defined methods to produce colored HTML from ANSI color description. The generated code use pre tags. The generated HTML can be embeded in your pod documentation.SYNOPSIS my $c= Text::Colorizer->new ( NAME => '' , INTERACTION => { INFO => sub {print @_}, WARN => \&Carp::carp, DIE => \&Carp::confess, } FORMAT => 'HTML' | 'ANSI' |'ASCII', DEFAULT_COLOR => 'bright_white on_black', COLOR_NAMES => { HTML => { white => "color:#888;", black => "color:#000;", ... } ANSI => ... ASCII => ... } ) ; # or my $c= Text::Colorizer->new() ; my $colored_text = $c->color ( 'red on_black' => 'string', $color => , 'user_defined_color_name' => 'string' ) ; Requirements: · Perl
Text::Colorizer Related Software