Upstream software project

libmousex-getopt-perl

Mouse role for processing command line options

About libmousex-getopt-perl

Mouse role for processing command line options

This project links 6 native package records across 6 recorded operating-system releases. Compare the retained versions and architectures below, then open the package for your own release.

These are catalog observations, not a guarantee of installation, compatibility, or upstream support.

Project pictures and package coverage

Debian 12 (Bookworm): 1 package records; Debian 13 (Trixie): 1 package records; Fedora 43: 1 package records; Fedora 44: 1 package records; openSUSE Leap 15.6: 1 package records; openSUSE Tumbleweed: 1 package records. Catalog coverage diagram, not an application screenshot.libmousex-getopt-perl: recorded package coverageDebian 12 (Bookworm)1 recordsDebian 13 (Trixie)1 recordsFedora 431 recordsFedora 441 recordsopenSUSE Leap 15.61 recordsopenSUSE Tumbleweed1 records
OpenFactory diagram of linked package records. It is not an application screenshot.

Project identity

Project
libmousex-getopt-perl
Publisher
Not authoritatively mapped
Native package records
6
Operating systems
debian-12, debian-13, fedora-43, fedora-44, opensuse-leap-15-6, opensuse-tumbleweed
License expression
Artistic-1.0 OR GPL-1.0-or-later
Source repository
Not reported

Source-reported description

The fullest retained description is shown with its source. Distribution packaging descriptions may include downstream details.

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.

Description source

Packages by operating system

Compare recorded versions, then open a package for dependency, file, checksum, and repository evidence. Version strings are distribution-specific, not a ranking of newer software.

Debian 12 (Bookworm)

  1. Package libmousex-getopt-perl

    bookworm (Debian 12 (Bookworm)) (perl): Mouse role for processing command line options

    0.38-2: all

Debian 13 (Trixie)

  1. Package libmousex-getopt-perl

    trixie (Debian 13 (Trixie)) (perl): Mouse role for processing command line options

    0.38-4: all

Fedora 43

  1. Package perl-MouseX-Getopt

    43 (Fedora 43) (Unspecified): Mouse role for processing command line options

    0.38-29.fc43: noarch

    Source: perl-MouseX-Getopt

Fedora 44

  1. Package perl-MouseX-Getopt

    44 (Fedora 44) (Unspecified): Mouse role for processing command line options

    0.38-30.fc44: noarch

    Source: perl-MouseX-Getopt

openSUSE Leap 15.6

  1. Package perl-MouseX-Getopt

    leap-15.6 (openSUSE Leap 15.6) (Unspecified): Mouse role for processing command line options

    0.38-bp156.3.1: noarch

    Source: perl-MouseX-Getopt

openSUSE Tumbleweed

  1. Package perl-MouseX-Getopt

    tumbleweed (openSUSE Tumbleweed) (Unspecified): Mouse role for processing command line options

    0.38-3.6: noarch

    Source: perl-MouseX-Getopt

Project resources and further reading

Mapping provenance

Only source-backed identity signals create public cross-OS links. A reviewer can later approve or dispute an inferred relationship without rewriting native package history.

No field-level source record is published yet.