1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
Source: libmoosex-getopt-perl
Section: perl
Priority: optional
Build-Depends: debhelper (>= 7), libmodule-install-perl, quilt
Build-Depends-Indep: perl (>= 5.8.8-7), libmoose-perl (>= 0.33),
libtest-pod-perl, libtest-pod-coverage-perl, libtest-exception-perl,
libclass-mop-perl (>= 0.49), libgetopt-long-descriptive-perl
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: Damyan Ivanov <dmn@debian.org>, Niko Tyni <ntyni@debian.org>,
gregor herrmann <gregoa@debian.org>,
Krzysztof Krzyżaniak (eloy) <eloy@debian.org>
Standards-Version: 3.8.0
Homepage: http://search.cpan.org/dist/MooseX-Getopt/
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libmoosex-getopt-perl/
Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libmoosex-getopt-perl/
Package: libmoosex-getopt-perl
Architecture: all
Depends: ${perl:Depends}, ${misc:Depends}, libmoose-perl (>= 0.33), libgetopt-long-descriptive-perl
Description: A Moose role for processing command line options
MooseX::Getopt is a Moose role which provides an alternate constructor for
creating objects using parameters passed in from the command line.
.
This module attempts to DWIM as much as possible with the command line
params by introspecting your class's attributes. It will use the name
of your attribute as the command line option, and if there is a type
constraint defined, it will configure Getopt::Long to handle the option
accordingly.
.
You can use the attribute metaclass MooseX::Getopt::Meta::Attribute
to get non-default commandline option names and aliases.
.
By default, attributes which start with an underscore are not given
commandline argument support, unless the attribute's metaclass is set
to MooseX::Getopt::Meta::Attribute. If you don't want you accessors
to have the leading underscore in thier name, you can do this:
|