Business::FR::SSN - Verify French SSN (Social Security Number / Numéro de Sécurité Sociale)


  use Business::FR::SSN;


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.


my $obj = Business::FR::SSN->new([$ssn])

The new constructor optionally takes a ss number.


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.


Returns true if the ssn number is valid.


Returns 1 for a male, 2 for a female.


Returns the person year of birth.


Returns the person month of birth.


Returns the person department of birth.


Please report any requests, suggestions or bugs via the RT bug-tracking system at or email to bug-Business-FR-SSN\ is the RT queue for Business::FR::SSN. Please check to see if your bug has already been reported.


Copyright 2004

Fabien Potencier,

This software may be freely copied and distributed under the same terms and conditions as Perl.



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