Getopt::Declare 1.11
Sponsored Links
Getopt::Declare 1.11 Ranking & Summary
File size:
0.035 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1085
Date added:
2006-11-03
Publisher:
Damian Conway
Getopt::Declare 1.11 description
Getopt::Declare is a Perl module with Declaratively Expressed Command-Line Arguments via Regular Expressions.
SYNOPSIS
use Getopt::Declare;
$args = Getopt::Declare->new($specification_string, $optional_source);
# or:
use Getopt::Declare $specification_string => $args;
Getopt::Declare is yet another command-line argument parser, one which is specifically designed to be powerful but exceptionally easy to use.
To parse the command-line in @ARGV, one simply creates a Getopt::Declare object, by passing Getopt::Declare::new() a specification of the various parameters that may be encountered:
use Getopt::Declare;
$args = Getopt::Declare->new($specification);
This may also be done in a one-liner:
use Getopt::Declare, $specification => $args;
The specification is a single string such as this:
$specification = q(
-a Process all data
-b < N:n > Set mean byte length threshold to
{ bytelen = $N; }
+c < FILE > Create new file
--del Delete old file
{ delold() }
delete [ditto]
e < H:i >x< W:i > Expand image to height < H > and width < W >
{ expand($H,$W); }
-F < file >... Process named file(s)
{ defer {for (@file) {process()}} }
=getrand [< N >] Get a random number
(or, optionally, < N > of them)
{ $N = 1 unless defined $N; }
-- Traditionally indicates end of arguments
{ finish }
SYNOPSIS
use Getopt::Declare;
$args = Getopt::Declare->new($specification_string, $optional_source);
# or:
use Getopt::Declare $specification_string => $args;
Getopt::Declare is yet another command-line argument parser, one which is specifically designed to be powerful but exceptionally easy to use.
To parse the command-line in @ARGV, one simply creates a Getopt::Declare object, by passing Getopt::Declare::new() a specification of the various parameters that may be encountered:
use Getopt::Declare;
$args = Getopt::Declare->new($specification);
This may also be done in a one-liner:
use Getopt::Declare, $specification => $args;
The specification is a single string such as this:
$specification = q(
-a Process all data
-b < N:n > Set mean byte length threshold to
{ bytelen = $N; }
+c < FILE > Create new file
--del Delete old file
{ delold() }
delete [ditto]
e < H:i >x< W:i > Expand image to height < H > and width < W >
{ expand($H,$W); }
-F < file >... Process named file(s)
{ defer {for (@file) {process()}} }
=getrand [< N >] Get a random number
(or, optionally, < N > of them)
{ $N = 1 unless defined $N; }
-- Traditionally indicates end of arguments
{ finish }
Getopt::Declare 1.11 Screenshot
Getopt::Declare 1.11 Keywords
Line Arguments Regular Expressions
Declare 1.11
Line Arguments
Declaratively Expressed Command
Expressions
regular expressions
Perl module
command-line arguments
specification
Command-line
file
arguments
n
regular
Getopt::Declare
GetoptDeclare
Bookmark Getopt::Declare 1.11
Getopt::Declare 1.11 Copyright
WareSeeker periodically updates pricing and software information of Getopt::Declare 1.11 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::Declare 1.11 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
perl command line arguments
c++ command line arguments
java command line arguments
command line arguments
vbscript command line arguments
php command line arguments
python command line arguments
vb6 command line arguments
command-line argument
regular expression
specification seals
perl regular expressions
perl modules
construction specification institute
specification sheets
command line arguments in c
regular expressions java
specifications
Related Software
Getopt::Clade is a Perl module with command-Line Argument Declaration Engine. Free Download
Getopt::ExPar contains extended parameters command line parser. Free Download
Getopt::Euclid is Perl module executable uniform command-Line interface descriptions. Free Download
GetArgs is a Perl module to allow enhanced argument passing. Free Download
HTML::Declare is a Perl module for When Template Systems Are Too Huge And Heredocs Too Messy. Free Download
Getopt::Tabular is a Perl module for table-driven argument parsing for Perl 5. Free Download
Getopt::Simple is a Perl module that provides a simple wrapper around Getopt::Long. Free Download
Getopt::Attribute is a Perl module to attribute wrapper for Getopt::Long. Free Download
Latest Software
Popular Software
Favourite Software