Skip Menu |

This queue is for tickets about the Data-FormValidator CPAN distribution.

Maintainer(s)' notes

This is the bug queue for Data::FormValidator.

Report information
The Basics
Id: 12220
Status: resolved
Priority: 0/
Queue: Data-FormValidator

People
Owner: MARKSTOS [...] cpan.org
Requestors: steve [...] deefs.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 3.63
Fixed in: (no value)



Subject: Changes to Canada Province Codes
Hello, The province codes in Data/FormValidator/Constraints.pm seem to be a bit out of date. They're missing Nunavut, which was added in (I believe) 1999, and Newfoundland and Labrador's code changed from NF to NL in 2001. I've attached a patch which adds these two (leaving NF there as well). Thanks, Steve Simms
--- Constraints.pm~ 2004-11-17 17:03:56.000000000 -0500 +++ Constraints.pm 2005-04-09 12:55:50.000000000 -0400 @@ -171,7 +171,7 @@ EOF my $province = <<EOF; -AB BC MB NB NF NS NT ON PE QC SK YT YK +AB BC MB NB NF NL NS NT NU ON PE QC SK YT YK EOF =pod
[guest - Sat Apr 9 13:09:46 2005]: Show quoted text
> Hello, > > The province codes in Data/FormValidator/Constraints.pm seem to be a > bit out of date. They're missing Nunavut, which was added in (I > believe) 1999, and Newfoundland and Labrador's code changed from NF > to NL in 2001. > > I've attached a patch which adds these two (leaving NF there as well). > > Thanks, > Steve Simms
This patch has been applied and will appear in the next version of DFV with credit to you. Thanks. Mark