Algorithm::CheckDigits::M89_001(3pm) | User Contributed Perl Documentation | Algorithm::CheckDigits::M89_001(3pm) |
CheckDigits::M89_001 - compute check digits for VAT Registration Number (LU)
use Algorithm::CheckDigits; $ustid = CheckDigits('ustid_lu'); if ($ustid->is_valid('13669580')) { # do something } $cn = $ustid->complete('136695'); # $cn = '13669580' $cd = $ustid->checkdigit('13669580'); # $cd = '80' $bn = $ustid->basenumber('13669580'); # $bn = '136695'
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 |