| 1 | Source: libbusiness-creditcard-perl |
| 2 | Maintainer: Debian Perl Group <[email protected]> |
| 3 | Uploaders: Ivan Kohler <[email protected]>, |
| 4 | Xavier Guimard <[email protected]> |
| 5 | Section: perl |
| 6 | Testsuite: autopkgtest-pkg-perl |
| 7 | Priority: optional |
| 8 | Build-Depends: debhelper-compat (= 13), |
| 9 | perl |
| 10 | Standards-Version: 4.6.1 |
| 11 | Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libbusiness-creditcard-perl |
| 12 | Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libbusiness-creditcard-perl.git |
| 13 | Homepage: https://metacpan.org/release/Business-CreditCard |
| 14 | Rules-Requires-Root: no |
| 15 | |
| 16 | Package: libbusiness-creditcard-perl |
| 17 | Architecture: all |
| 18 | Depends: ${misc:Depends}, |
| 19 | ${perl:Depends} |
| 20 | Multi-Arch: foreign |
| 21 | Description: Perl module to validate or generate credit card checksums and names |
| 22 | Business::CreditCard tell you whether a credit card number is |
| 23 | self-consistent -- whether the last digit of the number is a valid |
| 24 | checksum for the preceding digits. |
| 25 | . |
| 26 | The validate() subroutine returns 1 if the card number provided passes |
| 27 | the checksum test, and 0 otherwise. |
| 28 | . |
| 29 | The cardtype() subroutine returns a string containing the type of |
| 30 | card: "MasterCard", "VISA", and so on. |
| 31 | . |
| 32 | The generate_last_digit() subroutine computes and returns the last |
| 33 | digit of the card given the preceding digits. With a 16-digit card, |
| 34 | you provide the first 15 digits; the subroutine returns the sixteenth. |