Term::ANSIColor::MarkupColorize tagged strings for screen output | |
Download |
Term::ANSIColor::Markup Ranking & Summary
Advertisement
- License:
- Other/Proprietary Li...
- Price:
- FREE
- Publisher Name:
- Kentaro Kuribayashi
- Publisher web site:
- http://search.cpan.org/~kentaro/
Term::ANSIColor::Markup Tags
Term::ANSIColor::Markup Description
Colorize tagged strings for screen output Term::ANSIColor::Markup is a Perl module that provides a simple and friendly way to colorize screen output; You can do it using HTML-like tags.You can use the same names for tag names as ones Term::ANSIColor provides. See the documentation of Term::ANSIColor to get to know what names you can use.SYNOPSIS use Term::ANSIColor::Markup; my $text = qq{aaa< red >bbb< bold >ccc< /bold >ddd< black >< on_yellow>eee< /on_yellow >fff< /red > > ggg}; my $parser = Term::ANSIColor::Markup->new; $parser->parse($text); print $parser->text; # or just call colorize method this way: print Term::ANSIColor::Markup->colorize($text); Requirements: · Perl
Term::ANSIColor::Markup Related Software