Main > Programming > Libraries >

Data::CGIForm 0.4

Data::CGIForm 0.4

Sponsored Links

Data::CGIForm 0.4 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.012 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 1115
Date added: 2006-10-04
Publisher: Tim Wilde

Data::CGIForm 0.4 description

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;

Data::CGIForm 0.4 Screenshot

Advertisements

Data::CGIForm 0.4 Keywords

Bookmark Data::CGIForm 0.4

Hyperlink code:
Link for forum:

Data::CGIForm 0.4 Copyright

WareSeeker periodically updates pricing and software information of Data::CGIForm 0.4 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 Data::CGIForm 0.4 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
Tie::Form is a Perl module to access a machine readable database file that minics a hardcopy form. Free Download
Data::Region Perl module can define hierarchical areas with behaviors. Free Download
CGI::FormMagick is a Perl module to easily create CGI form-based applications. Free Download
Data::Stag is a Perl module with structured tags datastructures. Free Download
Data::ICal is a Perl module that generates iCalendar (RFC 2445) calendar files. Free Download
App::datetime is a date and time considerations. Free Download
Data::ENAML is a Perl extension for ENAML data representation. Free Download
Data::Secs2 is a Perl module to pack, unpack, format, transform from Perl data SEMI E5-94 nested data. Free Download