| Algorithm::CheckDigits::MBase_002(3pm) | User Contributed Perl Documentation | Algorithm::CheckDigits::MBase_002(3pm) | 
CheckDigits::MBase_002 - compute check digits for blood bags (DE), BZUe (DE), VAT Registration Number (DE)
  use Algorithm::CheckDigits;
  $bb = CheckDigits('blutbeutel');
  if ($bb->is_valid('2761011234567893')) {
        # do something
  }
  $cn = $bb->complete('276101123456789');
  # $cn = '2761011234567893'
  $cd = $bb->checkdigit('2761011234567893');
  # $cd = '3'
  $bn = $bb->basenumber('2761011234567893');
  # $bn = '276101123456789';
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, www.eurocode.org.
| 2022-10-13 | perl v5.34.0 |