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.164.100 Times

Data::CGIForm 0.4

  Date Added: September 20, 2010  |  Visits: 975

Data::CGIForm

Report Broken Link
Printer Friendly Version


Product Homepage
Download (95 downloads)



Data::CGIForm is a Perl module with form data interface. Data::CGIForm is yet another way to parse and handle CGI form data. The main motivation behind this module was a simple specification based validator that could handle multiple values. You probably dont want to use this module. CGI::Validate is a much more feature complete take on getting this sort of work done. You may then ask why this is on the CPAN, I ask that of myself from time to time.... SYNOPSIS my %spec = ( username => qr/^([a-z0-9]+)$/, password => { regexp => qr/^([a-z0-9+])$/, filter => [qw(strip_leading_ws, strip_trailing_ws)], }, email => { regexp => qr/^([a-z0-9@.]+)$/, filter => &qualify_domain, optional => 1, errors => { empty => You didnt enter an email address., invalid => Bad [% key %]: "[% value %]", }, extra_test => &check_email_addr, }, email2 => { equal_to => email, errors => { unequal => Both email addresses must be the same., }, }, ); my $r = $ENV{MOD_PERL} ? Apache::Request->instance : CGI->new; my $form = Data::CGIForm->new(datasource => $r, spec => %spec); my @params = $form->params; foreach $param (@params) { next unless my $error_string = $form->error($param); print STDERR $error_string; } if ($form->error(username)) { handle_error($form->username, $form->error(username)); } my $email = $form->param(email); my $password = $form->password;.

Requirements: No special requirements
Platforms: Linux
Keyword: Cgiform Data Datacgiform Email Error Form Form Data Libraries Module Perl Perl Module Programming
Users rating: 0/10

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


DATA::CGIFORM RELATED
Database Tools  -  SQL Database Professional 3.7.7.221
The SQL Database Professional data export module for Accurate Printer Monitor is used for recording/saving variables the parser receives and extracts from the stream of bytes into SQL-compatible databases, such as SQLBase, Oracle, Microsoft...
 
Libraries  -  SQL Database Professional plugin 3.7.7.221
The "SQL Database Professional" data publishing module for Advanced Serial Data Logger is designed for recording/saving variables the parser receives and extracts from the stream of bytes into SQL-compatible databases, such as SQLBase, Oracle, M...
 
Libraries  -  HTML::Tree::AboutTrees 3.21
HTML::Tree::AboutTrees is a article on tree-shaped data structures in Perl. This an article, not a module. The following article by Sean M. Burke first appeared in The Perl Journal #18 and is copyright 2000 The Perl Journal. It appears...
112.64 KB  
Database Tools  -  Local database 3.7.7.214
Data export module "Local database" for program Accurate Printer Monitor represents a set of tools for exporting any parsed serial data to different popular formats, such as: Microsoft Excel, RTF, HTML, CSV, DIFF, SYLK, Plain text, Windows...
 
Libraries  -  Direct Excel Connection plugin 3.7.7.214
Data publication module "Direct Excel Connection" for Advanced Serial Data Logger is created for data transmit of received by Advanced Serial Data Logger and picked out from byte flow by parser to programs Microsoft Excel, without use of additio...
 
Modules  -  Simple Email Form 1.1.04
Lightweight email contact form with 9 configurable fields, including a configurable text area, a field for uploading attachments to the email, and a CAPTCHA based in Text_CAPTCHA from the PEAR library (included).Features* Six configurable fields:...
122.88 KB  
Libraries  -  Data::Dumper 2.121
Data::Dumper module contains stringified perl data structures, suitable for both printing and eval. SYNOPSIS use Data::Dumper; # simple procedural interface print Dumper($foo, $bar); # extended usage with names print...
31.74 KB  
Libraries  -  Test::Data 1.20
Test::Data is a Perl module to test functions for particular variable types. SYNOPSIS use Test::Data qw(Scalar Array Hash Function); Test::Data provides utility functions to check properties and values of data and variables. Functions...
8.19 KB  
Libraries  -  SOAP::Data 0.69
SOAP::Data is a Perl class that provides the means by which to explicitly manipulate and control all aspects of the way in which Perl data gets expressed as SOAP data entities. The SOAP::Data class provides the means by which to explicitly...
235.52 KB  
Libraries  -  File::Data 1.12
File::Data is a Perl module as a interface to file data. Wraps all the accessing of a file into a convenient set of calls for reading and writing data, including a simple regex interface. Note that the file needs to exist prior to using this...
13.31 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