Query: pod::index::builder
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Pod::Index::Builder(3pm) User Contributed Perl Documentation Pod::Index::Builder(3pm)NAMEPod::Index::Builder - Build a pod indexSYNOPSISuse Pod::Index::Builder; my $p = Pod::Index::Builder->new( pi_base => $base_path, ); for my $file (@ARGV) { $p->parse_from_file($file); } $p->print_index;DESCRIPTIONThis is a subclass of Pod::Parser that reads POD and outputs nothing. However, it saves the position of every X<> entry it sees. The index can be retrieved as a hashref, or printed in a format that is understandable by Pod::Index::Search.METHODSnew The constructor, inherited from Pod::Parser. The only optional argument that cares about is "pi_base". If given, it is used as a base when converting pathnames to package names. For example, if "pi_path" = "lib", the filename lib/Pod/Index.pm will turn into "Pod::Index", instead of the undesirable "lib::Pod::Index". pod_index Retrieves the index as a hashref. The hash keys are the keywords contained in the X<> tags, normalized to lowercase; the values are array references of Pod::Index::Entry objects. print_index $parser->print_index($fh); $parser->print_index($filename); $parser->print_index(); Prints the index to the given output filename or filehandle (or STDOUT by default). The format is tab-delimited, with the following columns: 1) keyword 2) podname 3) line number 4) context (title of section containing this entry) The index is sorted by keyword in a case-insensitive way.VERSION0.14SEE ALSOPod::Index, Pod::Index::Entry, Pod::Index::Search, Pod::Parser, perlpodAUTHORIvan Tubert-Brohman <itub@cpan.org>COPYRIGHTCopyright (c) 2005 Ivan Tubert-Brohman. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.0 2005-10-16 Pod::Index::Builder(3pm)
Related Man Pages |
---|
podindex(1p) - debian |
pod::perldoc::tochecker5.18(3pm) - mojave |
pod::index(3pm) - debian |
pod::index::entry(3pm) - debian |
pod::index::search(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
Donate to help Andrii Nikitin's son Ivan |
Scoble Whine Index |
Fidessa Fragmentation Index |
Bodymass Index Calculator 1.0 (Default branch) |
Logic: Rebuilding the Loop Index |