Getopt::Lucid 0.16
Sponsored Links
Getopt::Lucid 0.16 Ranking & Summary
File size:
0.039 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1012
Date added:
2007-01-16
Publisher:
David A. Golden
Getopt::Lucid 0.16 description
Getopt::Lucid is a clear, readable syntax for command line processing.
SYNOPSIS
use Getopt::Lucid qw( :all );
# basic option specifications with aliases
@specs = (
Switch("version|V"),
Counter("verbose|v"),
Param("config|C"),
List("lib|l|I"),
Keypair("define"),
Switch("help|h")
);
$opt = Getopt::Lucid->getopt( @specs );
$verbosity = $opt->get_verbose;
@libs = $opt->get_lib;
%defs = $opt->get_define;
%all_options = $opt->options;
# advanced option specifications
@adv_spec = (
Param("input")->required, # required
Param("mode")->default("tcp"), # defaults
Param("host")->needs("port"), # dependencies
Param("port", qr/d+/ )->required, # regex validation
Param("config", sub { -r } ), # custom validation
Param("help")->anycase, # case insensitivity
);
# example with a config file
use Config::Std;
if ( -r $opt->get_config ) {
read_config( $opt->get_config() => my %config_hash );
$opt->merge_defaults( $config_hash{} );
}
The goal of this module is providing good code readability and clarity of intent for command-line option processing. While readability is a subjective standard, Getopt::Lucid relies on a more verbose, plain-English option specification as compared against the more symbolic approach of Getopt::Long.
Main features:
- Five option types: switches, counters, parameters, lists, and keypairs
- Three option styles: long, short (including bundled), and bare (without dashes)
- Specification of defaults, required options and option dependencies
- Validation of options with regexes or subroutines
- Negation of options on the command line
- Support for parsing any array, not just the default @ARGV
- Incorporation of external defaults (e.g. from a config file) with user control of precedence
SYNOPSIS
use Getopt::Lucid qw( :all );
# basic option specifications with aliases
@specs = (
Switch("version|V"),
Counter("verbose|v"),
Param("config|C"),
List("lib|l|I"),
Keypair("define"),
Switch("help|h")
);
$opt = Getopt::Lucid->getopt( @specs );
$verbosity = $opt->get_verbose;
@libs = $opt->get_lib;
%defs = $opt->get_define;
%all_options = $opt->options;
# advanced option specifications
@adv_spec = (
Param("input")->required, # required
Param("mode")->default("tcp"), # defaults
Param("host")->needs("port"), # dependencies
Param("port", qr/d+/ )->required, # regex validation
Param("config", sub { -r } ), # custom validation
Param("help")->anycase, # case insensitivity
);
# example with a config file
use Config::Std;
if ( -r $opt->get_config ) {
read_config( $opt->get_config() => my %config_hash );
$opt->merge_defaults( $config_hash{} );
}
The goal of this module is providing good code readability and clarity of intent for command-line option processing. While readability is a subjective standard, Getopt::Lucid relies on a more verbose, plain-English option specification as compared against the more symbolic approach of Getopt::Long.
Main features:
- Five option types: switches, counters, parameters, lists, and keypairs
- Three option styles: long, short (including bundled), and bare (without dashes)
- Specification of defaults, required options and option dependencies
- Validation of options with regexes or subroutines
- Negation of options on the command line
- Support for parsing any array, not just the default @ARGV
- Incorporation of external defaults (e.g. from a config file) with user control of precedence
Getopt::Lucid 0.16 Screenshot
Getopt::Lucid 0.16 Keywords
Lucid 0.16
command line processing
for command
command line
Config
option
options
command
processing
syntax
Getopt::Lucid
GetoptLucid
Getopt::Lucid 0.16
Libraries
Programming
Bookmark Getopt::Lucid 0.16
Getopt::Lucid 0.16 Copyright
WareSeeker periodically updates pricing and software information of Getopt::Lucid 0.16 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Getopt::Lucid 0.16 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
صور بنات عاريات صور عرات صور سكس options
optionsxpress
stock options
value options
options trading
birth control options
what are stock options
options trading strategies
internet options
java command line processing
options express
options for youth
career options
options trading 101
options clearing corp
Computer configuration
options trading tutorial
command line processing in c
Related Software
Getopt::Function is a Perl module to provide mixed options with help information. Free Download
Getopt::Clade is a Perl module with command-Line Argument Declaration Engine. Free Download
The Java GetOpt library implements option parsing and a common online help behaviour. Free Download
Getopt::Long is an extended processing of command line options. Free Download
Getopt::Fancy is an object approach to handling command line options, focusing on end user happiness. Free Download
Getopt::ExPar contains extended parameters command line parser. Free Download
Getopt::OO is an object oriented command line parser. Free Download
Tk::Getopt is a user configuration window for Tk with interface to Getopt::Long. Free Download
Latest Software
Popular Software
Favourite Software