Algorithm::CheckDigits::M10_006(3pm) | User Contributed Perl Documentation | Algorithm::CheckDigits::M10_006(3pm) |
CheckDigits::M10_006 - compute check digits for Rentenversicherung (DE)
use Algorithm::CheckDigits; $rv = CheckDigits('rentenversicherung'); if ($rv->is_valid('65180539W001')) { # do something } $cn = $rv->complete('65180539W00'); # $cn = '65180539W001' $cd = $rv->checkdigit('65180539W001'); # $cd = '1' $bn = $rv->basenumber('65180539W001'); # $bn = '65180539W00'
Returns false otherwise,
Returns the complete number with check digit or '' if $number does not consist solely of digits and spaces.
Return '' otherwise.
Return '' otherwise.
None by default.
Mathias Weidner, "<mamawe@cpan.org>"
perl, CheckDigits, www.pruefziffernberechnung.de.
2022-10-13 | perl v5.34.0 |