CGI::Untaint::us_date - CGI::Untaint::date for US-formatted dates
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.
<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.
You can find documentation for this module with the perldoc command.
You can also look for information at:
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.