libbusiness-creditcard-perl 0.39-1 source package in Ubuntu
Changelog
libbusiness-creditcard-perl (0.39-1) unstable; urgency=medium * Team upload. * Import upstream version 0.39. * Install new upstream CONTRIBUTING document. * Update years of upstream copyright and Upstream-Contact. * Declare compliance with Debian Policy 4.6.1. * Set Rules-Requires-Root: no. * Set upstream metadata fields: Repository, Repository-Browse. -- gregor herrmann <email address hidden> Mon, 22 Aug 2022 17:53:28 +0200
Upload details
- Uploaded by:
- Debian Perl Group
- Uploaded to:
- Sid
- Original maintainer:
- Debian Perl Group
- Architectures:
- all
- Section:
- perl
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section |
---|
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
libbusiness-creditcard-perl_0.39-1.dsc | 2.4 KiB | dee3cd48ee52ac624232bc891d3ffec93b402a9238957b7c4ad4f7595ba1aea8 |
libbusiness-creditcard-perl_0.39.orig.tar.gz | 11.6 KiB | c7c8a652d2977c8319ea86cd5e1c5be51bd4a6bfc37a5ec5cc0df4345ff450a2 |
libbusiness-creditcard-perl_0.39-1.debian.tar.xz | 2.9 KiB | 0e659f4640b8a96f1d9954e14bd52ca5ecb850a5ef6c6a732d5333c770f0e800 |
Available diffs
- diff from 0.36-2 to 0.39-1 (4.0 KiB)
No changes file available.
Binary packages built by this source
- libbusiness-creditcard-perl: Perl module to validate or generate credit card checksums and names
Business:
:CreditCard 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.
.
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.