Business-DK-CPR
view release on metacpan or search on metacpan
lib/Business/DK/CPR.pm view on Meta::CPAN
L<http://logicLAB.jira.com/wiki/display/OPEN/Perl-Critic-Policy-ValuesAndExpressions-ProhibitConstantPragma>
=item * L<Perl::Critic::Policy::ValuesAndExpressions::ProhibitMagicNumbers|Perl::Critic::Policy::ValuesAndExpressions::ProhibitMagicNumbers>
Some values and boundaries are defined for certain intervals of numbers, these
are currently kept as is. Perhaps with a refactoring of the use of constants to
use of L<Readonly|Readonly> will address this.
=back
=head1 BUGS AND LIMITATIONS
No known bugs at this time.
Business::DK::CPR has some obvious flaws. The package can only check for
validity and format, whether a given CPR has been generated by some random
computer program and just resemble a CPR or whether a CPR has ever been assigned
to a person is not possible without access to central CPR database an access,
which is costly, limited and monitored.
There are no other known limitations apart from the obvious flaws in the CPR
lib/Class/Business/DK/CPR.pm view on Meta::CPAN
=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
lib/Data/FormValidator/Constraints/Business/DK/CPR.pm view on Meta::CPAN
L<Data::FormValidator::Constraints>.
=head1 SUBROUTINES AND METHODS
=head2 valid_cpr
Checks whether a CPR is valid (see: L</SYNOPSIS>) and L<Business::DK::CPR>
=head2 match_valid_cpr
Untaints a given CPR (see: L</SYNOPSIS> and L</"BUGS AND LIMITATIONS">)
=head1 EXPORTS
Data::FormValidator::Constraints::Business::DK::CPR exports on request:
=over
=item L</valid_cpr>
=item L</match_valid_cpr>
lib/Data/FormValidator/Constraints/Business/DK/CPR.pm view on Meta::CPAN
=item * L<Data::FormValidator>
=item * L<Business::DK::CPR>
=back
=head1 INCOMPATIBILITIES
The module has no known incompatibilities.
=head1 BUGS AND LIMITATIONS
The tests seem to reflect that untainting takes place, but the L</match_valid_cpr> is not called at all, so
how this untainting is expected integrated into L<Data::FormValidator> is still not settled (SEE: TODO)
=head1 TEST AND QUALITY
Coverage of the test suite is at 57.6%
=head1 TODO
t/perlcriticrc view on Meta::CPAN
# $Id$
severity = 1
verbose = 8
#------------------------------------------------------------------------------
[-CodeLayout::RequireTidyCode]
[Documentation::RequirePodSections]
lib_sections = NAME|VERSION|SYNOPSIS|DESCRIPTION|SUBROUTINES AND METHODS|DIAGNOSTICS|CONFIGURATION AND ENVIRONMENT|DEPENDENCIES|INCOMPATIBILITIES|BUGS AND LIMITATIONS|TEST AND QUALITY|TODO|SEE ALSO|BUG REPORTING|AUTHOR|COPYRIGHT|LICENSE
script_sections = NAME|VERSION|SYNOPSIS|DESCRIPTION|SUBROUTINES AND METHODS|DIAGNOSTICS|CONFIGURATION AND ENVIRONMENT|DEPENDENCIES|INCOMPATIBILITIES|BUGS AND LIMITATIONS|TEST AND QUALITY|TODO|SEE ALSO|BUG REPORTING|AUTHOR|COPYRIGHT|LICENSE
[CodeLayout::ProhibitHardTabs]
allow_leading_tabs = 0
[-InputOutput::RequireCheckedSyscalls]
functions = print
#REF: L<http://logicLAB.jira.com/wiki/display/OPEN/Perl-Critic-Policy-ValuesAndExpressions-ProhibitConstantPragma>
[-ValuesAndExpressions::ProhibitConstantPragma]
( run in 0.246 second using v1.01-cache-2.11-cpan-4d50c553e7e )