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)



Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
MIME-Version: 1.0
X-Mailer: MIME-tools 5.405 (Entity 5.404)
Subject: SYNOPSIS code is wrong
X-RT-Original-Encoding: iso-8859-1
Content-Length: 120
Download (untitled) / with headers
text/plain 120b
The synopsis says: my $Discard = new Games::Cards::Queue "Discard Pile"; Except ->new also takes a $game argument.
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
MIME-Version: 1.0
X-Mailer: MIME-tools 5.411 (Entity 5.404)
From: Rajendra Gokhale
X-RT-Original-Encoding: iso-8859-1
Content-Length: 514
Download (untitled) / with headers
text/plain 514b
[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
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.13-3371-1372797452-334.4140-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 214
Download (untitled) / with headers
text/plain 214b
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


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.