NAME
Validator::Custom::HTMLForm - HTML Form validator based on Validator::Custom
VERSION
Version 0.0101
SYNOPSIS
use Validator::Custom::HTMLForm;
my $data = {
key1 => ' 123 ',
key2 => " \n a \r\n b\nc \t",
key3 => ' abc ',
key4 => ' def '
};
my $validators = [
key1 => [
['TRIM'] # ' 123 ' -> '123'
],
key2 => [
['TRIM_COLLAPSE'] # " \n a \r\n b\nc \t" -> 'a b c'
],
key3 => [
['TRIM_LEAD'] # ' abc ' -> 'abc '
],
key4 => [
['TRIM_TRAIL'] # ' def ' -> ' def'
]
];
my $vc_trim = Validator::Custom::Trim->new;
my $results = $vc_trim->validate($data, $validators)->results;
DESCRIPTION
This module usage is same as Validator::Custom.
See Validator::Custom document.
AUTHOR
Yuki Kimoto, <kimoto.yuki at gmail.com>
BUGS
Please report any bugs or feature requests to bug-validator-custom-htmlform at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Validator-Custom-HTMLForm. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Validator::Custom::HTMLForm
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Validator-Custom-HTMLForm
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
Copyright 2009 Yuki Kimoto, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.