Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

perl-MouseX-Getopt-0.38-1.15 RPM for noarch

From OpenSuSE Tumbleweed for noarch

Name: perl-MouseX-Getopt Distribution: openSUSE Tumbleweed
Version: 0.38 Vendor: openSUSE
Release: 1.15 Build date: Sat Mar 27 09:32:12 2021
Group: Unspecified Build host: reproducible
Size: 61064 Source RPM: perl-MouseX-Getopt-0.38-1.15.src.rpm
Packager: https://bugs.opensuse.org
Url: https://metacpan.org/release/MouseX-Getopt
Summary: Mouse role for processing command line options
This is a 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 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.

By default, attributes which start with an underscore are not given
commandline argument support, unless the attribute's metaclass is set to
MouseX::Getopt::Meta::Attribute. If you don't want your accessors to have
the leading underscore in their name, you can do this:

  
  has '_foo' => (accessor => 'foo', ...);

  
  has '_bar' => (reader => 'bar', ...);

This will mean that Getopt will not handle a --foo param, but your code can
still call the 'foo' method.

If your class also uses a configfile-loading role based on
MouseX::ConfigFromFile, such as MouseX::SimpleConfig, MouseX::Getopt's
'new_with_options' will load the configfile specified by the '--configfile'
option (or the default you've given for the configfile attribute) for you.

Options specified in multiple places follow the following precedence order:
commandline overrides configfile, which overrides explicit new_with_options
parameters.

Provides

Requires

License

Artistic-1.0 OR GPL-1.0-or-later

Changelog

* Sat Mar 27 2021 Stephan Kulow <coolo@suse.com>
  - Rename to proper MouseX::GetOpt
  - Update to 0.38
    * Cope with GLD output changes in version 0.103 (#13, by pghmcfc)
  - Remove 91da15eed08ede5d7486ccc3eec9b70ae493d627.patch as upstreamed
  - Add pr-15.patch to adopt to another GLD output change
* Tue Sep 11 2018 Dirk Stoecker <opensuse@dstoecker.de>
  - support of Getopt::Long::Descriptive version 1.103 (91da15eed08ede5d7486ccc3eec9b70ae493d627.patch)
* Sat Aug 13 2016 stephan.barth@suse.com
  - Update to version 0.37
    Upstream switched from using Module::Build to Module::Build::Tiny
    Changelog from upstream:
    - Cope with GLD output changes in version 0.100 (#10, by pghmcfc)
  - Adapted %build and %install parameters to Module::Build::Tiny syntax which
    needs leading --, e.g. '--destdir' instead of just 'destdir'
  - Fixed %description, which was a copy&paste of the summary
* Fri Apr 24 2015 opensuse@dstoecker.de
  - update to 0.36
* Wed Mar 19 2014 coolo@suse.com
  - initial package 0.35
    * created by cpanspec 1.78.07

Files

/usr/lib/perl5/vendor_perl/5.38.2/MouseX
/usr/lib/perl5/vendor_perl/5.38.2/MouseX/Getopt
/usr/lib/perl5/vendor_perl/5.38.2/MouseX/Getopt.pm
/usr/lib/perl5/vendor_perl/5.38.2/MouseX/Getopt/Basic.pm
/usr/lib/perl5/vendor_perl/5.38.2/MouseX/Getopt/Dashes.pm
/usr/lib/perl5/vendor_perl/5.38.2/MouseX/Getopt/GLD.pm
/usr/lib/perl5/vendor_perl/5.38.2/MouseX/Getopt/Meta
/usr/lib/perl5/vendor_perl/5.38.2/MouseX/Getopt/Meta/Attribute
/usr/lib/perl5/vendor_perl/5.38.2/MouseX/Getopt/Meta/Attribute.pm
/usr/lib/perl5/vendor_perl/5.38.2/MouseX/Getopt/Meta/Attribute/NoGetopt.pm
/usr/lib/perl5/vendor_perl/5.38.2/MouseX/Getopt/Meta/Attribute/Trait
/usr/lib/perl5/vendor_perl/5.38.2/MouseX/Getopt/Meta/Attribute/Trait.pm
/usr/lib/perl5/vendor_perl/5.38.2/MouseX/Getopt/Meta/Attribute/Trait/NoGetopt.pm
/usr/lib/perl5/vendor_perl/5.38.2/MouseX/Getopt/OptionTypeMap.pm
/usr/lib/perl5/vendor_perl/5.38.2/MouseX/Getopt/Strict.pm
/usr/share/doc/packages/perl-MouseX-Getopt
/usr/share/doc/packages/perl-MouseX-Getopt/Changes
/usr/share/doc/packages/perl-MouseX-Getopt/README.md
/usr/share/doc/packages/perl-MouseX-Getopt/minil.toml
/usr/share/licenses/perl-MouseX-Getopt
/usr/share/licenses/perl-MouseX-Getopt/LICENSE
/usr/share/man/man3/MouseX::Getopt.3pm.gz
/usr/share/man/man3/MouseX::Getopt::Basic.3pm.gz
/usr/share/man/man3/MouseX::Getopt::Dashes.3pm.gz
/usr/share/man/man3/MouseX::Getopt::GLD.3pm.gz
/usr/share/man/man3/MouseX::Getopt::Meta::Attribute.3pm.gz
/usr/share/man/man3/MouseX::Getopt::Meta::Attribute::NoGetopt.3pm.gz
/usr/share/man/man3/MouseX::Getopt::Meta::Attribute::Trait.3pm.gz
/usr/share/man/man3/MouseX::Getopt::Meta::Attribute::Trait::NoGetopt.3pm.gz
/usr/share/man/man3/MouseX::Getopt::OptionTypeMap.3pm.gz
/usr/share/man/man3/MouseX::Getopt::Strict.3pm.gz


Generated by rpm2html 1.8.1

Fabrice Bellet, Wed May 1 23:23:10 2024