Integrate with Algorithm::CheckDigits
MidLifeXis opened this issue · 3 comments
MidLifeXis commented
From http://prepan.org/module/nXWJ8Y9sBhL:
- provides A::CD-like API
- object-based
- functional-based
- provide integration patch
MidLifeXis commented
From Algorithm::CheckDigits:
Every object understands the following methods:
- is_valid($number)
Returns true or false if $number contains/contains no valid check digit. - complete($number)
Returns a string representation of $number completed with the appropriate check digit. - checkdigit($number)
Extracts the check digit from $number if $number contains a valid check digit. - basenumber($number)
Extracts the basenumber from $number if $number contains a valid check digit.
MidLifeXis commented
Related issue: MidLifeXis/perl-algorithm-checkdigits#1
MidLifeXis commented
Branch plugin is a preliminary enhancement using a proposed plugin interface.