Pakket: libmousex-getopt-perl (0.38-2)
Verwijzigingen voor libmousex-getopt-perl
Debian bronnen:
Het bronpakket libmousex-getopt-perl downloaden:
- [libmousex-getopt-perl_0.38-2.dsc]
- [libmousex-getopt-perl_0.38.orig.tar.gz]
- [libmousex-getopt-perl_0.38-2.debian.tar.xz]
Beheerders:
Externe bronnen:
- Homepage [metacpan.org]
Vergelijkbare pakketten:
- libmousex-configfromfile-perl
- libmousex-types-path-class-perl
- libmousex-nativetraits-perl
- libmoosex-configfromfile-perl
- libcli-osprey-perl
- libmousex-strictconstructor-perl
- libmoosex-attributeshortcuts-perl
- libgetopt-usaginator-perl
- libgetopt-tabular-perl
- libmoosex-classattribute-perl
- libmoosex-types-path-class-perl
Mouse role for processing command line options
MouseX::Getopt is a role which provides an alternate constructor for creating objects using parameters passed in from the command line.
MouseX::Getopt 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 trait MouseX::Getopt::Meta::Attribute::Trait or the attribute metaclass MouseX::Getopt::Meta::Attribute to get non-default commandline option names and aliases.
You can use the trait MouseX::Getopt::Meta::Attribute::Trait::NoGetopt or the attribute metaclass MouseX::Getopt::Meta::Attribute::NoGetopt to have MouseX::Getopt ignore your attribute in the commandline options.
Andere aan libmousex-getopt-perl gerelateerde pakketten
|
|
|
|
-
- dep: libgetopt-long-descriptive-perl
- module that handles command-line arguments with usage text
-
- dep: libmouse-perl
- lightweight object framework for Perl
-
- dep: perl
- Larry Wall"s Practical Extraction and Report Language