Pod::Index::Builder(3pm) User Contributed Perl Documentation Pod::Index::Builder(3pm)NAME
Pod::Index::Builder - Build a pod index
SYNOPSIS
use 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;
DESCRIPTION
This 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.
METHODS
new 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.
VERSION
0.14
SEE ALSO
Pod::Index, Pod::Index::Entry, Pod::Index::Search, Pod::Parser, perlpod
AUTHOR
Ivan Tubert-Brohman <itub@cpan.org>
COPYRIGHT
Copyright (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)
Check Out this Related Man Page
Pod::WSDL::Return(3pm) User Contributed Perl Documentation Pod::WSDL::Return(3pm)NAME
Pod::WSDL::Return - Represents the WSDL pod for the return value of a method (internal use only)
SYNOPSIS
use Pod::WSDL::Return;
my $return = new Pod::WSDL::Return('_RETURN $string This returns blah ...');
DESCRIPTION
This module is used internally by Pod::WSDL. It is unlikely that you have to interact directly with it. If that is the case, take a look at
the code, it is rather simple.
METHODS
new
Instantiates a new Pod::WSDL::Param. The method needs one parameter, the _RETURN string from the pod. Please see SYNOPSIS or the section
"Pod Syntax" in the description of Pod::WSDL.
EXTERNAL DEPENDENCIES
[none]
EXAMPLES
see Pod::WSDL
BUGS
see Pod::WSDL
TODO
see Pod::WSDL
SEE ALSO
Pod::WSDL
AUTHOR
Tarek Ahmed, <bloerch -the character every email address contains- oelbsk.org>
COPYRIGHT AND LICENSE
Copyright (C) 2006 by Tarek Ahmed
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.5 or,
at your option, any later version of Perl 5 you may have available.
perl v5.10.1 2010-12-18 Pod::WSDL::Return(3pm)
Hi, can anyone explain me how this works (how the flow goes)?
Example:
CLIENT="UNIXHELP"
The second argument passed $2="UNIX"
RESULT=`awk -F"=" '/CLIENTS=/ {len = index($2,"'${CLIENT}'");print len }' $2`
Thanks in advance. (1 Reply)
I have Index Line and I tried to get the 9th character from the file and to check the character is "|" or not.
Shell Scripting.
Sample Index file.
"91799489|K8E|188.004.A.917994892.1099R.c.01.pdf|2013|10/15/2014|002|B|C|C"... (3 Replies)