Skip Menu |

This queue is for tickets about the Games-Cards CPAN distribution.

Report information
The Basics
Id: 4140
Status: open
Priority: 0/
Queue: Games-Cards

People
Owner: Nobody in particular
Requestors: simon [...] simon-cozens.org
Cc:
AdminCc:

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



Subject: SYNOPSIS code is wrong
The synopsis says: my $Discard = new Games::Cards::Queue "Discard Pile"; Except ->new also takes a $game argument.
From: Rajendra Gokhale
[guest - Fri Oct 17 07:02:58 2003]: Show quoted text
> The synopsis says: > my $Discard = new Games::Cards::Queue $Rummy, "Discard Pile";
Show quoted text
> Except ->new also takes a $game argument.
Two changes are needed in the documentation SYNOPSIS part. a) Change my $Discard = new Games::Cards::Queue "Discard Pile"; to my $Discard = new Games::Cards::Queue $Rummy, "Discard Pile"; b) Change my $hand = new Games::Cards::Hand "Player $i" ; to my $hand = new Games::Cards::Hand $Rummy, "Player $i" ; Thanks, RG
I have implemented these changes in a github repo forked from gitpan. Also made contact with Amir and emailed him about it. see https://github.com/lancew/Games-Cards/commit/6014e52cf9c7ca32aac16571bbd38e9e07e76fc0