• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux MooseX::Getopt Download

MooseX::Getopt

July 24, 2009
The Moose role is designed to manage command line options in software, providing an efficient way to handle user input and modify program behavior.
Version 0.20
License Perl Artistic License
Platform Linux
Supported Languages English
Homepage search.cpan.org
Developed by Ricardo Signes
MooseX::Getopt is a software role that substitutes the regular constructor for creating objects with parameters passed from the command line. With the help of introspection of your class's attributes, this module attempts to understand the command line params as much as possible. Suppose there is a type constraint defined; in that case, the name of your attribute will be used as the command line option, and Getopt::Long will be configured to handle the option accordingly.

For non-default command line option names and aliases, you can use MooseX::Getopt::Meta::Attribute::Trait or the attribute metaclass MooseX::Getopt::Meta::Attribute. In contrast, MooseX::Getopt::Meta::Attribute::NoGetopt or the attribute metaclass MooseX::Getopt::Meta::Attribute::NoGetopt can be used to have MooseX::Getopt ignore your attribute in the command line options.

By default, if the attribute starts with an underscore, it will not be given support for command line arguments, unless the attribute's metaclass is set to MooseX::Getopt::Meta::Attribute. If you want to avoid leading underscores in the accessors' names, you can follow the codes mentioned in the example provided.

If your class uses a configfile-loading role based on MooseX::ConfigFromFile, Dthe new_with_options method of MooseX::Getopt must load the configfile specified by the --configfile option (or the default you've given for the configfile attribute), making the work simpler.

Multiple options specified in several places follow the following priority order: command line overrides configfile, which overrides explicit new_with_options parameters.

To use the module, you can define your class and then use 'MooseX::Getopt' software. For example, the code snippet describes how to use MooseX::Getopt in your script or on the command line.
What's New

Version 0.20: N/A

Free Download 26.3K
277
  • Share on:

Most Popular

  1. SlideMap 1.2.2
    101
  2. Quicksilver Forums 1.4.2
    89
  3. CherryTV 0.1
    79
  4. WikEd
    75
  5. porm r2
    72
  6. xstereograph 2.1
    70
  7. Intel Software Development Emulator 1.70
    69
  8. fuseftp 0.8
    65
  9. DynVPN 1.0
    63
  10. Dvgrab 3.4
    63

Related Downloads

scytha
Scytha Project is a Java-based file manager designed for Linux operating systems. ...
newblack
newblack is a software that redesigns the icons from Daniel Grimm's black-white ...
X-Files KDM Theme
X-Files KDM Theme is a KDE desktop manager login screen featuring an ...
RwdSchedule
RwdSchedule uses RubyWebDialogs to function as an event database program.
K!rash
K!rash is a car-shooter game that draws inspiration from Twisted Metal. This ...
Miller's Quest!
Miller's Quest! is an RPG simulator game that allows players to experience ...
CPAN::Mini::FromList
This software allows you to easily create a basic mirror of CPAN ...
Slony-I
Slony-I is a replication system designed with cascading and failover capabilities to ...
Net::Pager
This software allows users to send alphanumeric pages to any pager or ...
op
The Op Tool is a flexible solution for system administrators to permit ...
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.