Skip to content
Sections
>> Trisquel >> Packages >> nabia >> perl >> libmoosex-getopt-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Source: libmoosex-getopt-perl  ]

Package: libmoosex-getopt-perl (0.74-1)

Moose extension 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 automatically discovers command line parameters by introspecting your class attributes, using the name of your attribute as the command line option. If there is a type constraint defined, it will configure Getopt::Long to handle the option accordingly.

By default, attributes beginning with an underscore are considered private and are not given commandline argument support, unless the attribute's metaclass is set to MooseX::Getopt::Meta::Attribute. You can also use this behaviour to get non-default commandline option names and aliases.

Other Packages Related to libmoosex-getopt-perl

  • depends
  • recommends
  • suggests

Download libmoosex-getopt-perl

Download for all available architectures
Architecture Package Size Installed Size Files
all 48.7 kB114 kB [list of files]