1Regexp::Common::CC(3) User Contributed Perl DocumentationRegexp::Common::CC(3)
2
3
4
6 Regexp::Common::CC -- provide patterns for credit card numbers.
7
9 use Regexp::Common qw /CC/;
10
11 while (<>) {
12 /^$RE{zip}{Visa}$/ and print "Visa card number\n";
13 }
14
16 Please consult the manual of Regexp::Common for a general description
17 of the works of this interface.
18
19 Do not use this module directly, but load it via Regexp::Common.
20
21 This module offers patterns for credit card numbers of several major
22 credit card types.
23
25 $Log: $
26
28 Regexp::Common for a general description of how to use this interface.
29
30 <http://www.beachnet.com/~hstiles/cardtype.html>
31 Credit Card Validation - Check Digits
32
33 <http://euro.ecom.cmu.edu/resources/elibrary/everycc.htm>
34 Everything you ever wanted to know about CC's
35
36 <http://www.webopedia.com/TERM/L/Luhn_formula.html>
37 Luhn formula
38
40 Damian Conway (damian@conway.org) and Abigail (regexp-common@abi‐
41 gail.nl).
42
44 This package is maintained by Abigail (regexp-common@abigail.nl).
45
47 Bound to be plenty. Send them in to regexp-common@abigail.nl.
48
50 Copyright (c) 2001 - 2004, Damian Conway and Abigail. All Rights
51 Reserved. This module is free software. It may be used, redistributed
52 and/or modified under the terms of the Perl Artistic License (see
53 <http://www.perl.com/perl/misc/Artistic.html>)
54
55
56
57perl v5.8.8 2003-03-23 Regexp::Common::CC(3)