Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > a6aae8fef972d485565790bd8d854d1f > files > 10

perl-Getopt-Popt-0.02-7mdv2009.0.i586.rpm

Getopt::Popt version 0.01
=================

The Getopt::Popt module provides a Perl OO interface to the popt(3)
library, a library to parse command-line arguments. Popt is similar to
getopt, but with many new features. From the popt(3) manpage:

       The  popt  library exists essentially for parsing command-
       line options. It is found superior in many ways when  com-
       pared  to  parsing  the  argv  array  by hand or using the
       getopt   functions   getopt()   and   getopt_long()   [see
       getopt(3)].  Some specific advantages of popt are: it does
       not  utilize  global  variables,  thus  enabling  multiple
       passes  in  parsing argv ; it can parse an arbitrary array
       of argv-style elements, allowing parsing of  command-line-
       strings  from any source; it provides a standard method of
       option aliasing (to be discussed at length below.); it can
       exec  external  option filters; and, finally, it can auto-
       matically generate help and usage messages for the  appli-
       cation.

This module provides a method for almost all of the popt library
functions, the rest are on the TODO list.

This release should be considered a beta and may have a bug or two
(see the perldoc).

INSTALLATION

To install this module type the following:

   perl Makefile.PL
   make
   make test
   make install

DEPENDENCIES

This module requires these other modules and libraries:

    * popt 
        The latest version is distributed with rpm and is always
        available from: ftp://ftp.rpm.org/pub/rpm/dist.
        Tested with 1.6 and 1.7.

    * Scalar::Util 
        Ships with perl 5.8 and is available on CPAN.

AUTHOR

    James Baker <jamesb-at-cpan-dot-org>.

COPYRIGHT AND DISCLAIMER

    This program is Copyright 2003 by James Baker. This program is
    free software; you can redistribute it and/or modify it under the
    terms of the Perl Artistic License or the GNU General Public
    License as published by the Free Software Foundation; either
    version 2 of the License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    General Public License for more details.

    If you do not have a copy of the GNU General Public License write
    to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA
    02139, USA.