This Perl Tutorial shows how to use the Business::CreditCard module to validate a credit card, get card type and generate the last digit checksum number.