Skip Menu |

This queue is for tickets about the Tk-Wizard-Bases CPAN distribution.

Report information
The Basics
Id: 19296
Status: resolved
Worked: 1 min
Priority: 0/
Queue: Tk-Wizard-Bases

People
Owner: Nobody in particular
Requestors: clothohk [...] gmail.com
Cc:
AdminCc:

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



Subject: Wrong eg in doc
The eg program at SYNOPSIS has syntax error. I test it with Tk-Wizard-Bases-1.942 and perl-5.8.5-16.RHEL4 The correct program should be: use Tk::Wizard::Installer 1.931;; my $wizard = new Tk::Wizard::Installer( -title => "Installer Test", ); $wizard->addDownloadPage( -wait => undef, #-on_error => sub { ... }, -no_retry => 1, -files => { 'http://www.cpan.org/' => './cpan_index1.html', 'http://www.cpan.org/' => './cpan_index2.html', 'http://www.leegoddard.net' => './author.html', }, ); $wizard->addPage( sub { return $wizard->blank_frame( -title=>"Finished", -subtitle => "Please press Finish to leave the Wizard.", -text => "" ); }); $wizard->Show; MainLoop;
Subject: Re: [rt.cpan.org #19296] Wrong eg in doc
Date: Wed, 17 May 2006 17:33:36 +0100
To: bug-Tk-Wizard-Bases [...] rt.cpan.org
From: Lee Goddard <lee [...] leegoddard.net>
Thank you! I shall update ASAP. Guest via RT wrote: Show quoted text
> Wed May 17 03:31:39 2006: Request 19296 was acted upon. > Transaction: Ticket created by guest > Queue: Tk-Wizard-Bases > Subject: Wrong eg in doc > Broken in: 1.942 > Severity: Normal > Owner: Nobody > Requestors: clothohk@gmail.com > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=19296 > > > > The eg program at SYNOPSIS has syntax error. > I test it with Tk-Wizard-Bases-1.942 and perl-5.8.5-16.RHEL4 > > The correct program should be: > > use Tk::Wizard::Installer 1.931;; > my $wizard = new Tk::Wizard::Installer( -title => "Installer Test", ); > $wizard->addDownloadPage( > -wait => undef, > #-on_error => sub { ... }, > -no_retry => 1, > -files => { > 'http://www.cpan.org/' => './cpan_index1.html', > 'http://www.cpan.org/' => './cpan_index2.html', > 'http://www.leegoddard.net' => './author.html', > }, > ); > $wizard->addPage( sub { > return $wizard->blank_frame( > -title=>"Finished", > -subtitle => "Please press Finish to leave the Wizard.", > -text => "" > ); > }); > $wizard->Show; > MainLoop; > > >
-- Lee Goddard, BA (Hons), MSc www: LeeGoddard.net tel: 0208 369 6832 ltd: Server-side Systems ten: Ten years programming the net

Message body is not shown because sender requested not to inline it.

Thanks mate, updated now.