freebsd-ports/devel/p5-Getopt-Declare/pkg-descr
Bill Fenner 81797980f7 search.cpan.org redirect reduction canonicalization project, pass 1:
URLs automatically rewritten from /search?dist=Foo or /dist/Foo
to /dist/Foo/ (note trailing slash).  After a 2002(!) reorganization,
this is the preferred way to refer to modules on search.cpan.org.

This pass brought to you by http://people.freebsd.org/~fenner/fix-search
2005-09-21 19:31:43 +00:00

17 lines
757 B
Text

Getopt::Declare is yet another command-line argument parser, one which
is specifically designed to be powerful but exceptionally easy to use.
To parse the command-line in @ARGV, one simply creates a Getopt::Declare
object, by passing Getopt::Declare::new() a specification of the various
parameters that may be encountered.
The specification is a single string, in which the syntax of each
parameter is declared, along with a description and (optionally) one or
more actions to be performed when the parameter is encountered. The
specification string may also include other usage formatting information
(such as group headings or separators) as well as standard Perl comments
(which are ignored).
WWW: http://search.cpan.org/dist/Getopt-Declare/
-Anton