Debian logoDebian Screenshots >

libmoosex-getopt-perl

Moose extension for processing command line options

Description

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.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.


Homepage

https://metacpan.org/release/MooseX-Getopt


Statistics

1170 other people were interested in this package here. The newest known version of this software is 0.74-1 (Information last updated 4 days ago.)