Skip to content
Sections
>> Ubuntu >> Packages >> hardy >> perl >> libmoosex-getopt-perl
hardy  ] [  lucid  ] [  natty  ] [  oneiric  ] [  precise  ] [  quantal  ]
[ Source: libmoosex-getopt-perl  ]

Package: libmoosex-getopt-perl (0.05-2) [universe]

Links for libmoosex-getopt-perl

Screenshot

Ubuntu Resources:

Download Source Package libmoosex-getopt-perl:

Maintainer:

Please consider filing a bug or asking a question via Launchpad before contacting the maintainer directly.

Original Maintainers (usually from Debian):

It should generally not be necessary for users to contact the original maintainer.

Similar packages:

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:

Other Packages Related to libmoosex-getopt-perl

  • depends
  • recommends
  • suggests
  • dep: libmoose-perl (>= 0.19)
    Extension of the Perl 5 object system
  • dep: perl (>= 5.6.0-16)
    Larry Wall's Practical Extraction and Report Language

Download libmoosex-getopt-perl

Download for all available architectures
Architecture Package Size Installed Size Files
all 17.7 kB92.0 kB [list of files]