Business-DK-CPR
view release on metacpan or search on metacpan
lib/Class/Business/DK/CPR.pm view on Meta::CPAN
=head2 set_number
This method/mutator sets the a CPR number for a given CPR object, it takes a
single mandatory parameter, which should be a valid CPR number, returns true (1)
upon success else it dies.
=head2 algorithm
Accessor returning a string representing what algorithms used to validate the CPR object.
=head2 get_algorithm
See L</algorithm>
=head2 gender
Accessor returning an integer representing the gender indicated by the CPR object.
=over
=item * 1, male
=item * 1, female
=back
=head2 get_gender
See L</gender>
=head1 DIAGNOSTICS
=over
=item * You must provide a CPR number, thrown by L</set_number> and L</new> if
no argument is provided.
=item * Invalid CPR number parameter, thrown by L</new> and L</set_number> if
the provided argument is not a valid CPR number.
=back
=head1 CONFIGURATION AND ENVIRONMENT
The module requires no special configuration or environment to run.
=head1 DEPENDENCIES
=over
=item * L<Class::InsideOut>
=item * L<Business::DK::CPR>
=back
=head1 INCOMPATIBILITIES
The module has no known incompatibilities.
=head1 BUGS AND LIMITATIONS
The module has no known bugs or limitations
=head1 TEST AND QUALITY
Coverage of the test suite is at 98.3%
=head1 TODO
=over
=item * Please refer to the TODO file
=back
=head1 SEE ALSO
=over
=item * L<Business::DK::CPR>
=back
=head1 BUG REPORTING
Please report issue via GitHub
=over
=item * L<GitHub Issues|https://github.com/jonasbn/perl-business-dk-cpr/issues>
=back
Alternatively report issues via CPAN RT:
=over
=item * L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Business-DK-CPR>
=back
or by sending mail to
=over
=item * C<bug-Business-DK-CPR@rt.cpan.org>
=back
=head1 AUTHOR
=over
=item * Jonas B., (jonasbn) - C<< <jonasbn@cpan.org> >>
=back
=head1 COPYRIGHT
Business-DK-CPR and related is (C) by Jonas B., (jonasbn) 2006-2020
( run in 2.113 seconds using v1.01-cache-2.11-cpan-437f7b0c052 )