CGI::Untaint::us_date - CGI::Untaint::date for US-formatted dates
Version 0.01
Where CGI::Untaint::date has 'UK' hardcoded, this has 'US' hardcoded. That is the only difference.
use CGI::Untaint; my $handler = CGI::Untaint->new($q->Vars); my $date = $handler->extract(-as_us_date => 'date');
Overrides the date_format sub in CGI::Untaint::date so that dates like 4/20/2112 are valid, but 20/4/2112 is an error.
mike south, <msouth at gmail.com>
<msouth at gmail.com>
Please report any bugs or feature requests to bug-cgi-untaint-us_date at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=CGI-Untaint-us_date. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-cgi-untaint-us_date at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc CGI::Untaint::us_date
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=CGI-Untaint-us_date
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/CGI-Untaint-us_date
CPAN Ratings
http://cpanratings.perl.org/d/CGI-Untaint-us_date
Search CPAN
http://search.cpan.org/dist/CGI-Untaint-us_date/
Copyright 2010 mike south.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install CGI::Untaint::us_date, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CGI::Untaint::us_date
CPAN shell
perl -MCPAN -e shell install CGI::Untaint::us_date
For more information on module installation, please visit the detailed CPAN module installation guide.