NAME

CGI::Untaint::CountyStateProvince::GB - Add British counties to CGI::Untaint::CountyStateProvince tables

VERSION

Version 0.04

SYNOPSIS

Adds a list of British counties to the list of counties/state/provinces which are known by the CGI::Untaint::CountyStateProvince validator.

You must include CGI::Untaint::CountyStateProvince::GB after including CGI::Untaint, otherwise it won't work.

use CGI::Info;
use CGI::Untaint;
use CGI::Untaint::CountyStateProvince::GB;
my $info = CGI::Info->new();
my $u = CGI::Untaint->new($info->params());
# Succeeds if state = 'Kent', fails if state = 'Queensland';
$u->extract(-as_CountyStateProvince => 'state');
# ...

SUBSOUTINES/METHODS

is_valid

Validates the data. NB, unlike CGI::Untaint->is_valid(), this takes an argument.

AUTHOR

Nigel Horne, <njh at bandsman.co.uk>

BUGS

Please report any bugs or feature requests to bug-cgi-untaint-csp-gb at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=CGI-Untaint-CountyStateProvince. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SEE ALSO

CGI::Untaint::CountyStateProvince, CGI::Untaint

SUPPORT

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

perldoc CGI::Untaint::CountyStateProvince::GB

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2012 Nigel Horne.

This program is released under the following licence: GPL