PDL::Pod::ParserPDL::Pod::Parser is a base class for creating pod filters and translators. | |
Download |
PDL::Pod::Parser Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Brad Appleton
- Publisher web site:
- http://search.cpan.org/~marekr/Pod-Parser-1.35/lib/Pod/Parser.pm
PDL::Pod::Parser Tags
PDL::Pod::Parser Description
PDL::Pod::Parser is a base class for creating pod filters and translators. PDL::Pod::Parser is a base class for creating pod filters and translators.SYNOPSIS use PDL::Pod::Parser; package PDL::MyParser; @ISA = qw(PDL::Pod::Parser); sub new { ## constructor code ... } ## implementation of appropriate subclass methods ... package main; $parser = new PDL::MyParser; @ARGV = ('-') unless (@ARGV > 0); for (@ARGV) { $parser->parse_from_file($_); }PDL::Pod::Parser is an abstract base class for implementing filters and/or translators to parse pod documentation into other formats. It handles most of the difficulty of parsing the pod sections in a file and leaves it to the subclasses to override various methods to provide the actual translation. The other thing that PDL::Pod::Parser provides is the ability to process only selected sections of pod documentation from the input.SECTION SPECIFICATIONSCertain methods and functions provided by PDL::Pod::Parser may be given one or more "section specifications" to restrict the text processed to only the desired set of sections and their corresponding subsections. A section specification is a string containing one or more Perl-style regular expressions separated by forward slashes ("/"). If you need to use a forward slash literally within a section title you can escape it with a backslash ("/"). Requirements: · Perl
PDL::Pod::Parser Related Software