1Pod::Text::Color(3)   User Contributed Perl Documentation  Pod::Text::Color(3)
2
3
4

NAME

6       Pod::Text::Color - Convert POD data to formatted color ASCII text
7

SYNOPSIS

9           use Pod::Text::Color;
10           my $parser = Pod::Text::Color->new (sentence => 0, width => 78);
11
12           # Read POD from STDIN and write to STDOUT.
13           $parser->parse_from_filehandle;
14
15           # Read POD from file.pod and write to file.txt.
16           $parser->parse_from_file ('file.pod', 'file.txt');
17

DESCRIPTION

19       Pod::Text::Color is a simple subclass of Pod::Text that highlights
20       output text using ANSI color escape sequences.  Apart from the color,
21       it in all ways functions like Pod::Text.  See Pod::Text for details and
22       available options.
23
24       Term::ANSIColor is used to get colors and therefore must be installed
25       to use this module.
26

BUGS

28       This is just a basic proof of concept.  It should be seriously expanded
29       to support configurable coloration via options passed to the
30       constructor, and pod2text should be taught about those.
31

SEE ALSO

33       Pod::Text, Pod::Simple
34
35       The current version of this module is always available from its web
36       site at <http://www.eyrie.org/~eagle/software/podlators/>.  It is also
37       part of the Perl core distribution as of 5.6.0.
38

AUTHOR

40       Russ Allbery <rra@stanford.edu>.
41
43       Copyright 1999, 2001, 2004, 2006, 2008, 2009 Russ Allbery
44       <rra@stanford.edu>.
45
46       This program is free software; you may redistribute it and/or modify it
47       under the same terms as Perl itself.
48
49
50
51perl v5.16.3                      2013-01-02               Pod::Text::Color(3)
Impressum