Reference

VCP::PodDESCRIPTIONParser(3pm)

Parse DESCRIPTION sections from a set of source files.

NAME

VCP::PodDESCRIPTIONParser - Parse DESCRIPTION sections from a set of source files.

SYNOPSIS

   use VCP::PodDESCRIPTIONParser;
   my $p = VCP::PodDESCRIPTIONParser->new;
   my $options_hash = $p->parse( @packages_or_filenames );

DESCRIPTION

Returns a hash of all "=item"s found in all DESCRIPTION sections in the given filenames. Warns if duplicate options are found.

ASSUMES ALL PACKAGES REFERRED TO ARE ALREADY LOADED. %INC is used to locate their source code.

Converts packages (any string matching /\w[:\w]+/) to filenames.

COPYRIGHT

Copyright 2000, Perforce Software, Inc. All Rights Reserved.

This module and the VCP package are licensed according to the terms given in the file LICENSE accompanying this distribution, a copy of which is included in vcp.

AUTHOR

Barrie Slaymaker <[email protected]>

History