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.
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.
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
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.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.