Copyright (C) 2000-2012 |
Manpages SelectSection: User Contributed Perl Documentation (3)Updated: 1999-12-09 Index Return to Main Contents NAMEpodselect - function to extract selected sections of pod documentationSYNOPSISuse PDL::Pod::Select; podselect (@filelist); podselect ({OUTPUT => "tmp.out"}, @filelist): podselect ({SELECT => ["NAME|SYNOPSIS", "OPTIONS"]}, @filelist): podselect ({OUTPUT => ">&STDERR", SELECT => ["DESCRIPTION"]}, "-"); DESCRIPTIONpodselect() is a function which will extract specified sections of pod documentation from an input stream. This ability is already provided in the PDL::Pod::Parser module. Subclasses of PDL::Pod::Parser that wish to take advantage of this feature do not need to derive from PDL::Pod::Select. PDL::Pod::Select merely provides a single function named podselect() which provides this capability in function form (as opposed to object form) for extracting the raw pod docs.podselect(\%options, @filelist)podselect will print the raw (untranslated) pod documentation of all pod sections in the given input files specified by @filelist according to the given options.If any argument to podselect is a reference to a hash (associative array) then the values with the following keys are processed as follows:
All other arguments should correspond to the names of input files containing pod documentation. A file name of ``-'' or ``<&STDIN'' will be interpeted to mean standard input (which is the default if no filenames are given). SEE ALSOPDL::Pod::ParserAUTHORBrad Appleton <Brad_Appleton-GBDA001@email.mot.com>Based on code for pod2text written by Tom Christiansen <tchrist@mox.perl.com>
IndexThis document was created by man2html, using the manual pages. Time: 20:28:56 GMT, April 26, 2024 |