Paketname | libbusiness-creditcard-perl |
Beschreibung | Validate/generate credit card checksums/names |
Archiv/Repository | Offizielles Debian Archiv squeeze (main) |
Version | 0.31-1 |
Sektion | perl |
Priorität | optional |
Installierte Größe | 68 Byte |
Hängt ab von | perl |
Empfohlene Pakete | |
Paketbetreuer | Ivan Kohler |
Quelle | |
Paketgröße | 12350 Byte |
Prüfsumme MD5 | 6fefbf3eb10d585f543c7618b7239523 |
Prüfsumme SHA1 | eb1a7713e6f3214b66b089b740fcbf4bf56af2ed |
Prüfsumme SHA256 | 177114f7f1bf9a76573637a90ea593c1c1bb8086ba087965a5e9e510d5eeab52 |
Link zum Herunterladen | libbusiness-creditcard-perl_0.31-1_all.deb |
Ausführliche Beschreibung | These subroutines tell you whether a credit card number is
self-consistent -- whether the last digit of the number is a valid
checksum for the preceding digits.
.
The validate() subroutine returns 1 if the card number provided passes
the checksum test, and 0 otherwise.
.
The cardtype() subroutine returns a string containing the type of
card: "MasterCard", "VISA", and so on. My list is not complete;
I welcome additions.
.
The generate_last_digit() subroutine computes and returns the last
digit of the card given the preceding digits. With a 16-digit card,
you provide the first 15 digits; the subroutine returns the sixteenth.
|