Pod::Text::Color::Delight - Delight Light Highlight the POD
use Pod::Text::Color::Delight; my $parser = Pod::Text::Color::Delight->new; $parser->parse_from_filehandle("/path/to/your.pod");
Pod::Text::Color::Delight is a subclass of Pod::Text::Color that highlights the pod text by using ANSI color escape.
Highlight of this module is a little radical in comparison with parent. On default setting, this module highlights headlines, links, and other several elements. Additionally, this module also highlights Perl code (e.g. SYNOPSIS).
And you can configure the color settings for each elements as you like. Please look "CONFIGURATION AND ENVIRONMENT".
Basic usage is the same as Pod::Text::Color. So please refer it.
Use this module with perldoc -M option
$ perldoc -MPod::Text::Color::Delight Foo::Bar # delight!!
Also you can use this module with PERLDOC environment variable
PERLDOC
$ export PERLDOC="-MPod::Text::Color::Delight" $ perldoc Foo::Bar # delight!!
If you want to force the default settings, please set true value into POD_TEXT_COLOR_DELIGHT_DEFAULT of environment variable.
This module requires the terminal which is able to use 256 colors. If you use the terminal that does not meet the conditions, this module will not highlight texts completely.
Pod::Text, Pod::Text::Color
Copyright (C) moznion.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
moznion <moznion@gmail.com>
To install Pod::Text::Color::Delight, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pod::Text::Color::Delight
CPAN shell
perl -MCPAN -e shell install Pod::Text::Color::Delight
For more information on module installation, please visit the detailed CPAN module installation guide.