Filewatcher File Search File Search
Catalog
Content Search
» » » » »

libmousex-getopt-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.

Homepage:
Package version:0.33-2~bpo60+1
Architecture:all
Distribution:Debian
Filename:libmousex-getopt-perl_0.33-2~bpo60+1_all.deb

/usr/share/man/man3/MouseX::Getopt.3pm.gz

MouseX::Getopt(3pUser Contributed Perl DocumentatMouseX::Getopt(3pm)



NAME
       MouseX::Getopt - A Mouse role for processing command line
       options

SYNOPSIS
         ## In your class
         package My::App;
         use Mouse;

         with 'MouseX::Getopt';

         has 'out' => (is => 'rw', isa => 'Str', required => 1);
         has 'in'  => (is => 'rw', isa => 'Str', required => 1
more»

/usr/share/man/man3/MouseX::Getopt::Basic.3pm.gz

MouseX::Getopt::BUser(Contributed Perl DocMouseX::Getopt::Basic(3pm)



NAME
       MouseX::Getopt::Basic - MouseX::Getopt::Basic - role to
       implement the Getopt::Long functionality

SYNOPSIS
         ## In your class
         package My::App;
         use Mouse;

         with 'MouseX::Getopt::Basic';

         has 'out' => (is => 'rw', isa => 'Str', required => 1);
         has 'in'  => (i
more»

/usr/share/man/man3/MouseX::Getopt::Dashes.3pm.gz

MouseX::Getopt::DUsersContributed Perl DoMouseX::Getopt::Dashes(3pm)



NAME
       MouseX::Getopt::Dashes - convert underscores in attribute
       names to dashes

SYNOPSIS
         package My::App;
         use Mouse;
         with 'MouseX::Getopt::Dashes';

         # Will be called as --some-thingy, not --some_thingy
         has 'some_thingy' => (
             is      => 'ro',
             i
more»

/usr/share/man/man3/MouseX::Getopt::GLD.3pm.gz

MouseX::Getopt::GUserpContributed Perl DocumMouseX::Getopt::GLD(3pm)



NAME
       MouseX::Getopt::
more»

/usr/share/man/man3/MouseX::Getopt::Meta::Attribute.3pm.gz

MouseX::Getopt::MUser:ContributeMouseX::Getopt::Meta::Attribute(3pm)



NAME
       MouseX::Getopt::
more»

/usr/share/man/man3/MouseX::Getopt::Meta::Attribute::NoGetopt.3pm.gz

MouseX::Getopt::MUser:MouseX::Getopt::Meta::Attribute::NoGetopt(3pm)



NAME
       MouseX::Getopt::
more»

/usr/share/man/man3/MouseX::Getopt::Meta::Attribute::Trait.3pm.gz

MouseX::Getopt::MUser:ConMouseX::Getopt::Meta::Attribute::Trait(3pm)



NAME
       MouseX::Getopt::
more»

/usr/share/man/man3/MouseX::Getopt::Meta::Attribute::Trait::NoGetopt.3pm.gz

MouseX::Getopt:MouseX::Getopt::Meta::Attribute::Trait::NoGetopt(3pm)



NAME
       MouseX::Getopt::
more»

Browse inside libmousex-getopt-perl_0.33-2~bpo60+1_all.deb

         [DIR]DEBIAN/ (2)  65535+ mirrors
         [DIR]usr/ (1)  65535+ mirrors

Download libmousex-getopt-perl_0.33-2~bpo60+1_all.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com