-
-
15 Dec 2011 00:38:38 UTC
- Distribution: Business-CardInfo
- Module version: 0.12
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Repository
- Issues (0)
- Testers (692 / 0 / 0)
- Kwalitee
Bus factor: 0- % Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (111.5KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- Moose
- Test::Role
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Business::CardInfo - Get/Validate data from credit & debit cards
VERSION
version 0.12
SYNOPSIS
use Business::CardInfo; my $card_info = Business::CardInfo->new(number => '4917 3000 0000 0008'); print $card_info->type, "\n"; # prints Visa Electron $card_info->number('5404 0000 0000 0001'); print $card_info->type, "\n"; # prints MasterCard
DESCRIPTION
ATTRIBUTES
country
number
type
Possible return values are:
Visa Electron Visa Debit Visa MasterCard MasterCard Debit Diners Club Maestro International Maestro AMEX Discover JCB Unknown
METHODS
validate
BUGS
Please report any bugs or feature requests to
bug-business-cardtype at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Business-CardInfo. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Business::CardInfo
You can also look for information at:
RT: CPAN's request tracker
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
AUTHORS
purge: Simon Elliott <cpan@browsing.co.uk> wreis: Wallace Reis <reis.wallace@gmail.com>
ACKNOWLEDGEMENTS
To Airspace Software Ltd <http://www.airspace.co.uk>, for the sponsorship.
LICENSE
This library is free software under the same license as perl itself.
Module Install Instructions
To install Business::CardInfo, copy and paste the appropriate command in to your terminal.
cpanm Business::CardInfo
perl -MCPAN -e shell install Business::CardInfo
For more information on module installation, please visit the detailed CPAN module installation guide.