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;