The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Identifier::PL::PESEL - Validator for polish PESEL number.

VERSION

Version 0.2

SYNOPSIS

    use Identifier::PL::PESEL;

    my $pesel_number = '02070803628';
    my $psl = Identifier::PL::PESEL->new();
    print "OK" if $psl->validate( $pesel_number );

DESCRIPTION

More informations about PESEL https://en.wikipedia.org/wiki/PESEL

METHODS

new

Create new object of Identifier::PL::PESEL

validate

Validate given PESEL number.

Return 1 if number is valid. Otherwise return undef.

Carp::confess will be called if number to validate is missing.

AUTHOR

Andrzej Cholewiusz

Private website: http://cholewiusz.com

COPYRIGHT

The full text of the license can be found in the LICENSE file included with this module.