NAME
Algorithm::NIN - A very simple module to validate national insurance number.
VERSION
Version 0.02
SYNOPSIS
use Algorithm::NIN;
my $ni = "AA123456C";
my $status = Algorithm::NIN::validate($ni);
...
METHODS
validate
This method accepts National Insurance number and validate it against the UK format (currently). For more information please visit http://en.wikipedia.org/wiki/National_Insurance_UK
format
This method accepts National Insurance number and returns back in the pair format. e.g. AA1234546C would become AA 12 34 56 C as it appears on NI card.
AUTHOR
Mohammad S Anwar, <mohammad.anwar at yahoo.com>
BUGS
Please report any bugs or feature requests to bug-algorithm-nin at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Algorithm-NIN. 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 Algorithm::NIN
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
LICENSE AND COPYRIGHT
Copyright 2011 Mohammad S Anwar.
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.