Skip Menu |

This queue is for tickets about the Business-CreditCard CPAN distribution.

Report information
The Basics
Id: 3330
Status: resolved
Priority: 0/
Queue: Business-CreditCard

People
Owner: Nobody in particular
Requestors: tmurray [...] agronomy.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.27
Fixed in: (no value)



Subject: Documentation on cardtype() incorrect
The current POD (in version 0.27) states: ---- The cardtype() subroutine returns a string containing the type of card: "MasterCard", "VISA", and so on. ---- However, the actual return value on Visa cards is 'VISA card'. Further, return values on other cards are completely absent, forcing users to read the source. I suggest the following be added to the cardtype() documentation: ---- Possible return values are: VISA card MasterCard Discover card American Express card Diner's Club/Carte Blanche enRoute JCB BankCard Unknown "Not a credit card" is returned on obviously invalid data values. ---- The above list covers all return values in the 0.27 version.
Date: Tue, 8 Jun 2004 21:53:56 -0700
From: ivan-cpan [...] 420.am
To: Guest via RT <bug-Business-CreditCard [...] rt.cpan.org>
Subject: Re: [cpan #3330] Documentation on cardtype() incorrect
RT-Send-Cc:
checked into CVS, will be in 0.28, thanks On Mon, Aug 25, 2003 at 11:18:21AM -0400, Guest via RT wrote: Show quoted text
> > This message about Business-CreditCard was sent to you by guest <> via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=3330 > > > The current POD (in version 0.27) states: > > ---- > The cardtype() subroutine returns a string containing the type of card: "MasterCard", "VISA", and so on. > ---- > > However, the actual return value on Visa cards is 'VISA card'. Further, > return values on other cards are completely absent, forcing users to > read the source. > > I suggest the following be added to the cardtype() documentation: > > ---- > Possible return values are: > > VISA card > MasterCard > Discover card > American Express card > Diner's Club/Carte Blanche > enRoute > JCB > BankCard > Unknown > > "Not a credit card" is returned on obviously invalid > data values. > ---- > > The above list covers all return values in the 0.27 version. >