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

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

Serving Software Downloads in 976 Categories, Downloaded 29.654.673 Times

Class::ParmList 1.05

  Date Added: February 11, 2010  |  Visits: 551

Class::ParmList

Report Broken Link
Printer Friendly Version


Product Homepage
Download (70 downloads)



Class::ParmList is a Perl module with methods for processing named parameter lists. SYNOPSIS use Class::ParmList qw(simple_parms parse_parms); $thingy->some_method({ -bgcolor => #ff0000, -textcolor => #000000 }); sub some_method { my ($self) = shift; my ($parm_ref) = @_; my $parms = Class::ParmList->new ({ -parms => $parm_ref, -legal => [qw (-textcolor -border -cellpadding)], -required => [qw (-bgcolor)], -defaults => { -bgcolor => "#ffffff", -textcolor => "#000000" } }); if (not defined $parms) { my $error_message = Class::ParmList->error; die ($error_message); } # Stuff... } sub another_method { my $self = shift; my ($name,$rank,$serial_number) = simple_parms([qw(-name -rank -serial_number)], @_); #... } sub still_another { my $parms = parse_parms ({ -parms => @_, -legal => [qw (-textcolor -border -cellpadding)], -required => [qw (-bgcolor)], -defaults => { -bgcolor => "#ffffff", -textcolor => "#000000" } }); if (not defined $parms) { my $error_message = Class::ParmList->error; die ($error_message); } # ... } This is a simple package for validating calling parameters to a subroutine or method. It allows you to use "named parameters" while providing checking for number and naming of parameters for verifying inputs are as expected and meet any minimum requirements. It also allows the setting of default values for the named parameters if omitted.. A freeware integrated WWW and FTP log reporting tool that include support for standard and combined access_log formats and generation of graphical reports. Written in perl.

Requirements: No special requirements
Platforms: Linux
Keyword: Classparmlist Error Libraries Message Named Named Parameter Parmlist Parms Perl Perl Module Programming Qw
Users rating: 0/10

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


CLASS::PARMLIST RELATED
Web Browser Tools  -  Error Console Message Remover 0.100601.6
Error Console Message Remover is a Firefox extension that works only ifConsole2 is installed. By right clicking an error, warning or message an option to "Block message" will appear that will allow you to remove the message "forever"....
51.2 KB  
Libraries  -  Luka 1.08
Luka is an exception handling and reporting framework. SYNOPSIS use Error qw(:try); use Luka; try { $ftp->login("someuser", "somepass") || throw Luka::Exception::External ( error => $ftp->message . $@, id => "login", context => "FTP...
36.86 KB  
Libraries  -  Parse::Binary::FixedFormat 0.10
Parse::Binary::FixedFormat is a Perl module to convert between fixed-length fields and hashes. SYNOPSIS use Parse::Binary::FixedFormat; my $tarhdr = new Parse::Binary::FixedFormat [ qw(name:a100 mode:a8 uid:a8 gid:a8 size:a12 mtime:a12...
31.74 KB  
Libraries  -  perlrpcgen 0.71
perlrpcgen is a Perl module that can generate Perl interfaces from ONC RPC interface definitions. SYNOPSIS perlrpcgen [--makefile] [--all] [--client] [--server] [--data] [--constants] [--module module] [--typemap typemap] [--fork] [--perl...
37.89 KB  
Libraries  -  Opcode 5.8.8
Opcode is a Perl module created to disable named opcodes when compiling perl code. SYNOPSIS use Opcode; Perl code is always compiled into an internal format before execution. Evaluating perl code (e.g. via "eval" or "do file") causes the...
12.29 KB  
Libraries  -  Getargs::Long 1.1001
Getargs::Long is a Perl module with named subroutine arguments, with optional type checking. SYNOPSIS use Getargs::Long; # case sensitive use Getargs::Long qw(ignorecase); # case insensitive # Simple, args mandatory my ($val, $other) =...
40.96 KB  
Programming  -  File::AptFetch 0.0.9
File::AptFetch - perl interface onto APT-Methods. Shortly: . Methods are usual executables. Hence F:AF forks. . There's no command-line interface for methods. The IPC is two pipes (STDIN and STDOUT from method POV). ....
71.68 KB  
Libraries  -  ebXML::Message 0.03
ebXML::Message is a Perl module to encapsulate an ebMS message. SYNOPSIS use ebXML::Message; # create new message my $message = ebXML::Message->new ( CPAId => http://www.you.org/cpa/123456, Action => NewPurchaseOrder, MessageId => 12,...
14.34 KB  
Libraries  -  ModPerl::ParamBuilder 0.08
ModPerl::ParamBuilder is a Perl module that makes building custom Apache directives easy. SYNOPSIS package MyApp::Parameters; use ModPerl::ParamBuilder; use base qw( ModPerl::ParamBuilder ); my $builder = ModPerl::ParamBuilder->new(...
8.19 KB  
Modules  -  Persistent Queue 1.0
This script contains a class that creates a persistent FIFO queue named by the 'name' argument. The number of cached queue items at the head and tail of the queue is determined by the optional 'cache_size' parameter.By default the marshal module...
 
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.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...
2.73 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