Main > Programming > Libraries >

Getopt::Simple 1.48

Getopt::Simple 1.48

Sponsored Links

Getopt::Simple 1.48 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.008 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 1087
Date added: 2006-11-03
Publisher: Ron Savage

Getopt::Simple 1.48 description

Getopt::Simple is a Perl module that provides a simple wrapper around Getopt::Long.

SYNOPSIS

use Getopt::Simple;

# Or ...
# use Getopt::Simple qw($switch);

my($options) =
{
help =>
{
type => ,
env => -,
default => ,
# verbose => , # Not needed on every key.
order => 1,
},
username =>
{
type => =s, # As per Getopt::Long.
env => $USER, # Help text.
default => $ENV{USER} || RonSavage, # In case $USER is undef.
verbose => Specify the username on the remote machine,
order => 3, # Help text sort order.
},
password =>
{
type => =s,
env => -,
default => password,
verbose => Specify the password on the remote machine,
order => 4,
},
};

my($option) = Getopt::Simple -> new();

if (! $option -> getOptions($options, "Usage: testSimple.pl [options]") )
{
exit(-1); # Failure.
}

print "username: $$option{switch}{username}. n";
print "password: $$option{switch}{password}. n";

# Or, after use Getopt::Simple qw($switch); ...
# print "username: $$switch{username}. n";
# print "password: $$switch{password}. n";

Getopt::Simple is a pure Perl module.

The Getopt::Simple module provides a simple way of specifying:

Command line switches

Type information for switch values

Default values for the switches

Help text per switch

Getopt::Simple 1.48 Screenshot

Advertisements

Getopt::Simple 1.48 Keywords

Bookmark Getopt::Simple 1.48

Hyperlink code:
Link for forum:

Getopt::Simple 1.48 Copyright

WareSeeker periodically updates pricing and software information of Getopt::Simple 1.48 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::Simple 1.48 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
The Net::IMAP::Simple library provides a simple-to-use, yet feature-rich Perl to IMAP API. Free Download
Timestamp::Simple is a Perl module with simple methods for timestamping. Free Download
Test::WWW::Simple is a Perl module to test Web applications using TAP. Free Download
SimpleForum provides a simple Plone forum. Free Download
Jeta SSH Module provides a Horde SSH module. Free Download
PGPLOT::Simple is a simple Perl Interface to PGPLOT. Free Download
Getopt::Attribute is a Perl module to attribute wrapper for Getopt::Long. Free Download
Blog::Simple is a Perl extension for the creation of a simple weblog (blogger) system. Free Download