The FreeBSD Ports Archive

Freebsd | Contact
Welcome to FreeBSD Software


FreeBSD finance : p5-Business-CreditCard

Perl5 module to validate/generate credit card checksums/names

 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. 

http://search.cpan.org/dist/Business-CreditCard/



p5-Business-CreditCard history


v. 1.22
date: 2006/12/20 10:37:04;  author: tobez;  state: Exp;  lines: +1 -1
Update to 0.30.

v. 1.21 date: 2004/12/06 10:30:32; author: tobez; state: Exp; lines: +1 -1 Update to 0.28.
v. 1.20 date: 2003/10/24 12:02:19; author: ijliao; state: Exp; lines: +0 -1 utilize SITE_PERL PR: 58166 Submitted by: Cheng-Lung Sung
v. 1.19 date: 2003/04/04 01:11:26; author: edwin; state: Exp; lines: +1 -1 move p5-Business-OnlinePayment from misc to finance PR: ports/50557 Submitted by: Erwin Lansing
v. 1.18 date: 2003/03/07 06:07:13; author: ade; state: Exp; lines: +1 -0 Clear moonlight beckons. Requiem mors pacem pkg-comment, And be calm ports tree. E Nomini Patri, E Fili, E Spiritu Sancti.
v. 1.17 date: 2002/01/22 13:39:40; author: tobez; state: Exp; lines: +2 -2 Update to 0.27.
v. 1.16 date: 2001/08/31 13:17:29; author: tobez; state: Exp; lines: +3 -3 Update to 0.26; add WWW to pkg-descr; assume maintainership.
v. 1.15 date: 2001/05/10 01:20:43; author: vanilla; state: Exp; lines: +5 -8 Upgrade p5-Apache-AuthTicket => 0.31 p5-Apache-AuthenCache => 0.04 p5-Business-CreditCard => 0.23 p5-CGI-Cache => 1.03 p5-Crypt-CipherSaber => 0.60 p5-Crypt-SSLeay => 0.25 p5-File-Cache => 0.16 p5-Filter => 1.23 p5-FreezeThaw => 0.41 p5-HTML-Stream => 1.49 p5-Mail-Audit => 1.10 p5-Mail-Box => 1.111 p5-Mail-IMAPClient => 2.1.2 p5-Mail-Sender => 0.7.08 p5-Math-FixedPrecision => 0.14 p5-Math-GMP => 1.07 p5-NNTPClient => 0.37 p5-Net-SSLeay => 1.07 p5-Proc-Background => 1.03 p5-Quota => 1.3.3 p5-Text-Template => 1.31 p5-WWW-Search => 2.19 p5-XML-RSS => 0.97 p5-chart => fix pkg-plist
v. 1.14 date: 2001/04/17 13:28:57; author: roam; state: Exp; lines: +3 -5 Add proper PERL_VER support. Submitted by: Anton Berezin
v. 1.13 date: 2000/10/23 21:03:01; author: will; state: Exp; lines: +2 -2 Remove jfitz@ as MAINTAINER - mail is bouncing / mailservers don't answer.
v. 1.12 date: 2000/04/14 08:46:24; author: asami; state: Exp; lines: +4 -4 Convert to PORTNAME/PORTVERSION.
v. 1.11 date: 1999/08/31 06:48:22; author: mharo; state: Exp; lines: +2 -2 FreeBSD.ORG -> FreeBSD.org Prompted by PR: 13476, 13477 Submitted by: KATO Tsuguru
v. 1.10 date: 1999/08/28 01:57:40; author: mharo; state: Exp; lines: +2 -2 ln -> ${LN}
v. 1.9 date: 1999/08/25 07:22:17; author: obrien; state: Exp; lines: +1 -1 Change Id->FreeBSD.
v. 1.8 date: 1998/03/14 19:58:30; author: vanilla; state: Exp; lines: +7 -7 Upgrade to 0.21.
v. 1.7 date: 1997/06/24 18:43:06; author: jfitz; state: Exp; lines: +2 -3 Make all p5- ports use USE_PERL instead of explicitly stating the version number in each Makefile In-Conjunction-With: Satoshi's patch to bsd.port.mk (note: unlike the last change in perl5 versions, I have only upgraded p5-* ports, not other ports that rely upon perl5.)
v. 1.6 date: 1997/05/24 13:17:11; author: jfitz; state: Exp; lines: +3 -3 Upgrade all ports requiring perl5.003 to perl5.004 Remove p5-CGI.pm and p5-ExtUtils-Embed; they are now part of the perl5.004 distribution.
v. 1.5 date: 1997/04/20 13:52:42; author: wosch; state: Exp; lines: +2 -2 Add virtual category 'perl5'.
v. 1.4 date: 1996/11/17 09:06:22; author: obrien; state: Exp; lines: +4 -8 Converted to MAN[1-8] Converted p5* to use MASTER_SITE_PERL_CPAN
v. 1.3 date: 1996/11/11 05:49:55; author: obrien; state: Exp; lines: +2 -2 CATEGORIES+= --> CATEGORIES= Misc variable reordering, cleaning up, etc.
v. 1.2 date: 1996/10/24 09:57:50; author: jfitz; state: Exp; lines: +2 -1 Add RUN_DEPENDS to all perl5 ports, to make packages install perl. Submitted by: asami@freebsd.org
v. 1.1 date: 1996/10/24 08:23:42; author: jfitz; state: Exp; branches: 1.1.1; Initial revision
v. 1.1.1.1 date: 1996/10/24 08:23:42; author: jfitz; state: Exp; lines: +0 -0 perl5 module to validate/generate credit card checksums/names. ============================================================================= v. 1.22 date: 2006/12/20 10:37:04; author: tobez; state: Exp; lines: +1 -1 Update to 0.30.
v. 1.21 date: 2004/12/06 10:30:32; author: tobez; state: Exp; lines: +1 -1 Update to 0.28.
v. 1.20 date: 2003/10/24 12:02:19; author: ijliao; state: Exp; lines: +0 -1 utilize SITE_PERL PR: 58166 Submitted by: Cheng-Lung Sung
v. 1.19 date: 2003/04/04 01:11:26; author: edwin; state: Exp; lines: +1 -1 move p5-Business-OnlinePayment from misc to finance PR: ports/50557 Submitted by: Erwin Lansing
v. 1.18 date: 2003/03/07 06:07:13; author: ade; state: Exp; lines: +1 -0 Clear moonlight beckons. Requiem mors pacem pkg-comment, And be calm ports tree. E Nomini Patri, E Fili, E Spiritu Sancti.
v. 1.17 date: 2002/01/22 13:39:40; author: tobez; state: Exp; lines: +2 -2 Update to 0.27.
v. 1.16 date: 2001/08/31 13:17:29; author: tobez; state: Exp; lines: +3 -3 Update to 0.26; add WWW to pkg-descr; assume maintainership.
v. 1.15 date: 2001/05/10 01:20:43; author: vanilla; state: Exp; lines: +5 -8 Upgrade p5-Apache-AuthTicket => 0.31 p5-Apache-AuthenCache => 0.04 p5-Business-CreditCard => 0.23 p5-CGI-Cache => 1.03 p5-Crypt-CipherSaber => 0.60 p5-Crypt-SSLeay => 0.25 p5-File-Cache => 0.16 p5-Filter => 1.23 p5-FreezeThaw => 0.41 p5-HTML-Stream => 1.49 p5-Mail-Audit => 1.10 p5-Mail-Box => 1.111 p5-Mail-IMAPClient => 2.1.2 p5-Mail-Sender => 0.7.08 p5-Math-FixedPrecision => 0.14 p5-Math-GMP => 1.07 p5-NNTPClient => 0.37 p5-Net-SSLeay => 1.07 p5-Proc-Background => 1.03 p5-Quota => 1.3.3 p5-Text-Template => 1.31 p5-WWW-Search => 2.19 p5-XML-RSS => 0.97 p5-chart => fix pkg-plist
v. 1.14 date: 2001/04/17 13:28:57; author: roam; state: Exp; lines: +3 -5 Add proper PERL_VER support. Submitted by: Anton Berezin
v. 1.13 date: 2000/10/23 21:03:01; author: will; state: Exp; lines: +2 -2 Remove jfitz@ as MAINTAINER - mail is bouncing / mailservers don't answer.
v. 1.12 date: 2000/04/14 08:46:24; author: asami; state: Exp; lines: +4 -4 Convert to PORTNAME/PORTVERSION.
v. 1.11 date: 1999/08/31 06:48:22; author: mharo; state: Exp; lines: +2 -2 FreeBSD.ORG -> FreeBSD.org Prompted by PR: 13476, 13477 Submitted by: KATO Tsuguru
v. 1.10 date: 1999/08/28 01:57:40; author: mharo; state: Exp; lines: +2 -2 ln -> ${LN}
v. 1.9 date: 1999/08/25 07:22:17; author: obrien; state: Exp; lines: +1 -1 Change Id->FreeBSD.
v. 1.8 date: 1998/03/14 19:58:30; author: vanilla; state: Exp; lines: +7 -7 Upgrade to 0.21.
v. 1.7 date: 1997/06/24 18:43:06; author: jfitz; state: Exp; lines: +2 -3 Make all p5- ports use USE_PERL instead of explicitly stating the version number in each Makefile In-Conjunction-With: Satoshi's patch to bsd.port.mk (note: unlike the last change in perl5 versions, I have only upgraded p5-* ports, not other ports that rely upon perl5.)
v. 1.6 date: 1997/05/24 13:17:11; author: jfitz; state: Exp; lines: +3 -3 Upgrade all ports requiring perl5.003 to perl5.004 Remove p5-CGI.pm and p5-ExtUtils-Embed; they are now part of the perl5.004 distribution.
v. 1.5 date: 1997/04/20 13:52:42; author: wosch; state: Exp; lines: +2 -2 Add virtual category 'perl5'.
v. 1.4 date: 1996/11/17 09:06:22; author: obrien; state: Exp; lines: +4 -8 Converted to MAN[1-8] Converted p5* to use MASTER_SITE_PERL_CPAN
v. 1.3 date: 1996/11/11 05:49:55; author: obrien; state: Exp; lines: +2 -2 CATEGORIES+= --> CATEGORIES= Misc variable reordering, cleaning up, etc.
v. 1.2 date: 1996/10/24 09:57:50; author: jfitz; state: Exp; lines: +2 -1 Add RUN_DEPENDS to all perl5 ports, to make packages install perl. Submitted by: asami@freebsd.org
v. 1.1 date: 1996/10/24 08:23:42; author: jfitz; state: Exp; branches: 1.1.1; Initial revision
v. 1.1.1.1 date: 1996/10/24 08:23:42; author: jfitz; state: Exp; lines: +0 -0 perl5 module to validate/generate credit card checksums/names. ============================================================================= v. 1.22 date: 2006/12/20 10:37:04; author: tobez; state: Exp; lines: +1 -1 Update to 0.30.
v. 1.21 date: 2004/12/06 10:30:32; author: tobez; state: Exp; lines: +1 -1 Update to 0.28.
v. 1.20 date: 2003/10/24 12:02:19; author: ijliao; state: Exp; lines: +0 -1 utilize SITE_PERL PR: 58166 Submitted by: Cheng-Lung Sung
v. 1.19 date: 2003/04/04 01:11:26; author: edwin; state: Exp; lines: +1 -1 move p5-Business-OnlinePayment from misc to finance PR: ports/50557 Submitted by: Erwin Lansing
v. 1.18 date: 2003/03/07 06:07:13; author: ade; state: Exp; lines: +1 -0 Clear moonlight beckons. Requiem mors pacem pkg-comment, And be calm ports tree. E Nomini Patri, E Fili, E Spiritu Sancti.
v. 1.17 date: 2002/01/22 13:39:40; author: tobez; state: Exp; lines: +2 -2 Update to 0.27.
v. 1.16 date: 2001/08/31 13:17:29; author: tobez; state: Exp; lines: +3 -3 Update to 0.26; add WWW to pkg-descr; assume maintainership.
v. 1.15 date: 2001/05/10 01:20:43; author: vanilla; state: Exp; lines: +5 -8 Upgrade p5-Apache-AuthTicket => 0.31 p5-Apache-AuthenCache => 0.04 p5-Business-CreditCard => 0.23 p5-CGI-Cache => 1.03 p5-Crypt-CipherSaber => 0.60 p5-Crypt-SSLeay => 0.25 p5-File-Cache => 0.16 p5-Filter => 1.23 p5-FreezeThaw => 0.41 p5-HTML-Stream => 1.49 p5-Mail-Audit => 1.10 p5-Mail-Box => 1.111 p5-Mail-IMAPClient => 2.1.2 p5-Mail-Sender => 0.7.08 p5-Math-FixedPrecision => 0.14 p5-Math-GMP => 1.07 p5-NNTPClient => 0.37 p5-Net-SSLeay => 1.07 p5-Proc-Background => 1.03 p5-Quota => 1.3.3 p5-Text-Template => 1.31 p5-WWW-Search => 2.19 p5-XML-RSS => 0.97 p5-chart => fix pkg-plist
v. 1.14 date: 2001/04/17 13:28:57; author: roam; state: Exp; lines: +3 -5 Add proper PERL_VER support. Submitted by: Anton Berezin
v. 1.13 date: 2000/10/23 21:03:01; author: will; state: Exp; lines: +2 -2 Remove jfitz@ as MAINTAINER - mail is bouncing / mailservers don't answer.
v. 1.12 date: 2000/04/14 08:46:24; author: asami; state: Exp; lines: +4 -4 Convert to PORTNAME/PORTVERSION.
v. 1.11 date: 1999/08/31 06:48:22; author: mharo; state: Exp; lines: +2 -2 FreeBSD.ORG -> FreeBSD.org Prompted by PR: 13476, 13477 Submitted by: KATO Tsuguru
v. 1.10 date: 1999/08/28 01:57:40; author: mharo; state: Exp; lines: +2 -2 ln -> ${LN}
v. 1.9 date: 1999/08/25 07:22:17; author: obrien; state: Exp; lines: +1 -1 Change Id->FreeBSD.
v. 1.8 date: 1998/03/14 19:58:30; author: vanilla; state: Exp; lines: +7 -7 Upgrade to 0.21.
v. 1.7 date: 1997/06/24 18:43:06; author: jfitz; state: Exp; lines: +2 -3 Make all p5- ports use USE_PERL instead of explicitly stating the version number in each Makefile In-Conjunction-With: Satoshi's patch to bsd.port.mk (note: unlike the last change in perl5 versions, I have only upgraded p5-* ports, not other ports that rely upon perl5.)
v. 1.6 date: 1997/05/24 13:17:11; author: jfitz; state: Exp; lines: +3 -3 Upgrade all ports requiring perl5.003 to perl5.004 Remove p5-CGI.pm and p5-ExtUtils-Embed; they are now part of the perl5.004 distribution.
v. 1.5 date: 1997/04/20 13:52:42; author: wosch; state: Exp; lines: +2 -2 Add virtual category 'perl5'.
v. 1.4 date: 1996/11/17 09:06:22; author: obrien; state: Exp; lines: +4 -8 Converted to MAN[1-8] Converted p5* to use MASTER_SITE_PERL_CPAN
v. 1.3 date: 1996/11/11 05:49:55; author: obrien; state: Exp; lines: +2 -2 CATEGORIES+= --> CATEGORIES= Misc variable reordering, cleaning up, etc.
v. 1.2 date: 1996/10/24 09:57:50; author: jfitz; state: Exp; lines: +2 -1 Add RUN_DEPENDS to all perl5 ports, to make packages install perl. Submitted by: asami@freebsd.org
v. 1.1 date: 1996/10/24 08:23:42; author: jfitz; state: Exp; branches: 1.1.1; Initial revision
v. 1.1.1.1 date: 1996/10/24 08:23:42; author: jfitz; state: Exp; lines: +0 -0 perl5 module to validate/generate credit card checksums/names. =============================================================================



Main menu

FreeBSD

Program categories

Freebsd accessibility
Freebsd archivers
Freebsd astro
Freebsd audio
Freebsd benchmarks
Freebsd biology
Freebsd cad
Freebsd chinese
Freebsd comms
Freebsd converters
Freebsd databases
Freebsd deskutils
Freebsd devel
Freebsd dns
Freebsd editors
Freebsd emulators
Freebsd finance
Freebsd french
Freebsd ftp
Freebsd games
Freebsd german
Freebsd graphics
Freebsd hebrew
Freebsd hungarian
Freebsd irc
Freebsd japanese
Freebsd java
Freebsd korean
Freebsd lang
Freebsd mail
Freebsd math
Freebsd mbone
Freebsd misc
Freebsd multimedia
Freebsd net
Freebsd net-im
Freebsd net-mgmt
Freebsd net-p2p
Freebsd news
Freebsd palm
Freebsd polish
Freebsd ports-mgmt
Freebsd portuguese
Freebsd print
Freebsd russian
Freebsd science
Freebsd security
Freebsd shells
Freebsd sysutils
Freebsd textproc
Freebsd ukrainian
Freebsd vietnamese
Freebsd www
Freebsd x11
Freebsd x11-clocks
Freebsd x11-drivers
Freebsd x11-fm
Freebsd x11-fonts
Freebsd x11-servers
Freebsd x11-themes
Freebsd x11-toolkits
Freebsd x11-wm