The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

CGI::Untaint::us_date - CGI::Untaint::date for US-formatted dates

VERSION

Version 0.01

SYNOPSIS

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');

SUBROUTINES/METHODS

date_format

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.

AUTHOR

mike south, <msouth at gmail.com>

BUGS

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.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc CGI::Untaint::us_date

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

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.