NAME
Business::RU::INN
VERSION
version 0.1
SYNOPSIS
package myDecorator;
use Moose;
has 'inn' => ( is => 'ro', isa => 'Int' );
with 'Business::RU::INN';
...
my $decorator = myDecorator -> new( inn => 123456789 );
if( $decorator -> validate_inn() ) {
... success ...
} else {
... process error ...
}
DESCRIPTION
Validate russian individual taxpayer number. NOTE: This role expects that it's consuming class will have a inn
method.
METHODS
validate_inn()
Validate INN. return true if INN valid
_validate_inn_10()
Validate short INN. Internal method.
_validate_inn_12()
Validate long INN. Internal method.
SEE ALSO
BUGS
Please report any bugs through the web interface at http://rt.cpan.org or https://github.com/GermanS/Business-RU
AUTHOR
German Semenkov german.semenkov@gmail.com
COPYRIGHT AND LICENSE
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.