Check the docs that come with it (perldoc Business::CreditCard), it is pretty straight forward. Just pass the number to validate() and it returns true or false.
(the Synopsis from the docs) use Business::CreditCard; print validate("5276 4400 6542 1319"); print cardtype("5276 4400 6542 1319"); print generate_last_digit("5276 4400 6542 131"); Rob -----Original Message----- From: Naeemah Small [mailto:[EMAIL PROTECTED]] Sent: Friday, January 04, 2002 3:10 PM To: [EMAIL PROTECTED] Subject: Business::CreditCard Does anyone know how to use Business::CreditCard? I am writing a program that will check the card and the number and exp.date. I never used Business::CreditCard. Does any know how to use it or have a script that I can use? Thank you. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]