X-Git-Url: http://git.freeside.biz/gitweb/?p=Business-CreditCard.git;a=blobdiff_plain;f=CreditCard.pm;h=d657e42918166a110064e4685efed511d0ab3c1c;hp=df40315c556097d7b0476b27800df8341bb9e906;hb=40e39c3bee2cc3c7ab67339f0b66a7982e076ee6;hpb=9a22a62a72ad936158c3a52bb618f7d8a8f72936 diff --git a/CreditCard.pm b/CreditCard.pm index df40315..d657e42 100644 --- a/CreditCard.pm +++ b/CreditCard.pm @@ -131,12 +131,24 @@ types. Lee also contributed a working test.pl. Alexandr Ciornii Copyright (C) 1995,1996,1997 Jon Orwant Copyright (C) 2001-2006 Ivan Kohler -Copyright (C) 2007-2011 Freeside Internet Services, Inc. +Copyright (C) 2007-2012 Freeside Internet Services, Inc. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available. +=head1 BUGS + +(paraphrasing Neil Bowers) We export all functions by default. It would be +better to let the user decide which functions to import. And validate() is +a bit of a generic name. + +The question is, after almost 2 decades with this interface (inherited from +the original author, who probably never expected it to live half this long), +how to change things to behave in a more modern fashion without breaking +existing code? "use Business::CreditCard " turns it off? +Explicitly ask to turn it off and list that in the SYNOPSIS? + =head1 SEE ALSO L is a wrapper around Business::CreditCard @@ -146,6 +158,9 @@ Business::CreditCard distribution is welcome. L is a framework for processing online payments including modules for various payment gateways. +http://neilb.org/reviews/luhn.html is an excellent overview of similar modules +providing credit card number verification (LUHN checking). + =cut @EXPORT = qw(cardtype validate generate_last_digit);