Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.336.183 Times

Getopt::Declare 1.11

  Date Added: April 08, 2010  |  Visits: 953

Getopt::Declare

Report Broken Link
Printer Friendly Version


Product Homepage
Download (93 downloads)



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 }.

Requirements: No special requirements
Platforms: Linux
Keyword: Arguments Command-line Command-line Arguments Declaratively Expressed Command File Getoptdeclare Libraries Line Arguments Regular Expressions Perl Module Programming Regular Specification
Users rating: 0/10

License: Freeware Size: 35.84 KB
USER REVIEWS
More Reviews or Write Review


GETOPT::DECLARE RELATED
Libraries  -  Algorithm::Line::Bresenham 0.11
Algorithm::Line::Bresenham is a Perl module that contains a simple pixellated line-drawing algorithm. SYNOPSIS use Algorithm::Line::Bresenham qw/line/; my @points = line(3,3 => 5,0); # returns the list: [3,3], [4,2], [4,1], [5,0] line(3,3...
3.07 KB  
Libraries  -  Getopt::Euclid 0.1.0
Getopt::Euclid is Perl module executable uniform command-Line interface descriptions. SYNOPSIS use Getopt::Euclid; if ($ARGV{-i}) { print "Interactive mode...n"; } for my $x (0..$ARGV{-size}{h}-1) { for my $y (0..$ARGV{-size}{w}-1) {...
24.58 KB  
Libraries  -  App::Options 1.02
App::Options is Perl module to combine command line options, environment vars, and option file values (for program configuration). SYNOPSIS #!/usr/local/bin/perl use App::Options; # reads option values into %App::options by default # do...
33.79 KB  
Libraries  -  Getopt::Clade 0.0.1
Getopt::Clade is a Perl module with command-Line Argument Declaration Engine. This module is a placeholder for the real Getopt::Clade module. The module was supposed to be released by July 2005, to support the book "Perl Best Practices"....
3.07 KB  
Libraries  -  text-vimcolor 0.11
text-vimcolor is a command-line program to syntax color a file in HTML, XML or PDF. SYNOPSIS $ text-vimcolor --format html --full-page FILENAME > OUTPUT.html $ text-vimcolor --format xml FILENAME > OUTPUT.xml $ text-vimcolor --format pdf...
20.48 KB  
Libraries  -  POE::Component::ControlPort::Command 0.01
POE::Component::ControlPort::Command is a Perl module with register control port commands. SYNOPSIS use POE::Component::ControlPort::Command; POE::Component::ControlPort::Command->register( name => test, topic => sample_commands, usage =>...
12.29 KB  
Libraries  -  Net::Appliance::Phrasebook 0.08
Net::Appliance::Phrasebook is a Perl module for network appliance command-line phrasebook. SYNOPSIS use Net::Appliance::Phrasebook; my $pb = Net::Appliance::Phrasebook->new( platform => IOS, source => /a/file/somewhere.yml, # optional );...
7.17 KB  
Libraries  -  Getopt::EvaP 2.3.5
Getopt::EvaP is a Perl module to evaluate Perl command line parameters. SYNOPSIS use vars qw/@PDT @MM %OPT/; use Getopt::EvaP; EvaP @PDT, @MM, %OPT; EXPORT use Getopt::EvaP exports the subs EvaP and EvaP_PAC into your name space. @PDT...
52.22 KB  
Libraries  -  SVK::Command::Help 1.08
SVK::Command::Help is a Perl module to show help. OPTIONS Optionally svk helps can pipe through a pager, for it is easier to read if the output is too long. For using this feature, please set environment variable SVKPAGER to some pager...
266.24 KB  
Libraries  -  Devel::Command::NewF 0.02
Devel::Command::NewF is a Perl module with the extended f command for the debugger. SYNOPSIS # In .perldb (or perldb.ini on Windows) use Devel::Command; # Devel::Command::NewF loaded automatically perl -de0 Patching with...
5.12 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB