Name : perl-OptArgs2
| |
Version : 0.0.11
| Vendor : obs://build_opensuse_org/home:illuusio
|
Release : lp150.26.1
| Date : 2019-01-09 11:19:05
|
Group : Development/Libraries/Perl
| Source RPM : perl-OptArgs2-0.0.11-lp150.26.1.src.rpm
|
Size : 0.14 MB
| |
Packager : (none)
| |
Summary : Command-Line Argument and Option Processor
|
Description :
*OptArgs2* processes command line arguments, options, and subcommands according to the following definitions:
* Command
A program run from the command line to perform a task.
* Arguments
Arguments are positional parameters that pass information to a command. Arguments can be optional, but they should not be confused with Options below.
* Options
Options are non-positional parameters that pass information to a command. They are generally not required to be present (hence the name Option) but that is configurable. All options have a long form prefixed by \'--\', and may have a single letter alias prefixed by \'-\'.
* Subcommands
From the users point of view a subcommand is a special argument with its own set of arguments and options. However from a code authoring perspective subcommands are often implemented as stand-alone programs, called from the main script when the appropriate command arguments are given.
*OptArgs2* is a re-write of the original OptArgs module with a cleaner code base and improved API. It should be preferred over OptArgs for new projects however OptArgs is not likely to disappear from CPAN anytime soon. Users converting to *OptArgs2* from OptArgs need to be aware of the following:
* Obvious API changes: cmd(), subcmd()
Commands and subcommands must now be explicitly defined using \'cmd()\' and \'subcmd()\'.
* class_optargs() no longer loads the class
Users must specifically require the class if they want to use it afterwards:
my ($class, $opts) = class_optargs(\'App::demo\'); eval \"require $class\" or die $AATT; # new requirement
* Bool options with no default display as \"--[no-]bool\"
A Bool option without a default is now displayed with the \"[no-]\" prefix. What this means in practise is that many of your existing Bool options should likely become Flag options instead.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/home:/illuusio:/perl/openSUSE_Leap_15.0/noarch |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
perl(Getopt::Args2)
perl(Getopt::Args2::Arg)
perl(Getopt::Args2::Cmd)
perl(Getopt::Args2::Fallback)
perl(Getopt::Args2::Mo)
perl(Getopt::Args2::Opt)
perl(Getopt::Args2::Result)
perl(Getopt::Args2::Util)
perl(OptArgs2)
perl(OptArgs2::Arg)
perl(OptArgs2::Cmd)
perl(OptArgs2::Fallback)
perl(OptArgs2::Mo)
perl(OptArgs2::Opt)
perl(OptArgs2::Result)
perl(OptArgs2::Util)
perl-OptArgs2
Requires :