Why not adopt me?
NAME
Business::FR::SSN - Verify French SSN (Social Security Number / Numéro de Sécurité Sociale)
SYNOPSIS
use Business::FR::SSN;
DESCRIPTION
This module verifies SSN (numéro de sécurité sociale), which are french people identification. This module cannot tell if a SS references a real person, but it can tell you if the given SS is properly formatted.
METHODS
- my $obj = Business::FR::SSN->new([$ssn])
-
The new constructor optionally takes a ss number.
- $obj->ssn([$ssn])
-
if no argument is given, it returns the current ssn number. if an argument is provided, it will set the ssn number and return it.
- $obj->is_valid([$ssn])
-
Returns true if the ssn number is valid.
- $obj->get_sex()
-
Returns 1 for a male, 2 for a female.
- $obj->get_birth_year()
-
Returns the person year of birth.
- $obj->get_birth_month()
-
Returns the person month of birth.
- $obj->get_birth_department()
-
Returns the person department of birth.
REQUESTS & BUGS
Please report any requests, suggestions or bugs via the RT bug-tracking system at http://rt.cpan.org/ or email to bug-Business-FR-SSN\@rt.cpan.org.
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Business-FR-SSN is the RT queue for Business::FR::SSN. Please check to see if your bug has already been reported.
COPYRIGHT
Copyright 2004
Fabien Potencier, fabpot@cpan.org
This software may be freely copied and distributed under the same terms and conditions as Perl.
SEE ALSO
perl(1).
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 85:
Non-ASCII character seen before =encoding in 'Numéro'. Assuming CP1252