Subject: | using Tk::Multi with modern Perl and Tk |
RedHat Linux 8ish
Perl 5.8.5
Perl/Tk 804.027
I think the key of this bug is probably related to this line from your README file:
"This module was written with perl5.00502 and needs Tk800.013 to work."
I'm installing Tk::Multi because another module requires it, and during testing it's issuing a lot of invalid argument errors:
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/canvas..........ok 1/4bad option "fill": must be -after, -anchor, -before, -expand, -fill, -in, -ipadx, -ipady, -padx, -pady, or -
side at /usr/lib/perl5/site_perl/5.8.5/i686-linux-thread-multi/Tk/Widget.pm line 1144.
at t/canvas.t line 42
t/canvas..........dubious
Test returned status 255 (wstat 65280, 0xff00)
The first bunch of errors involved a 'side' option in the Tk calls, which I've patched in the tests; now it's progressed to the 'fill' option and it will probably report all the old-style options you've used...
I haven't used Tk much, especially in the past, but I'll guess that older Perl/Tk supported options without the need for the leading - ie 'side' instead of -side ? And I guess that more recent versions of Tk have tightened up the options too.
I have looked into the .pm files of your module and see all sorts of options without '-' in many places, and including some use of qw// to build lists of arguments.
I can patch the files myself manually at least to the point where it passes the test, but I might miss some calls that do not get tested; it depends how extensive your tests are.