Subject: | Test::Without::Module does not work anymore with Tk |
(Broken in 0.09, rt did not let me specify the value)
The following works fine:
$ perl -MTk -e 'tkinit->Menu'
(no output)
Using Test::Without::Module breaks it:
$
perl -MTest::Without::Module=Foo::Bar -MTk -e 'tkinit->Menu'
Can't locate
/usr/local/lib/perl5/site_perl/5.8.8/mach/auto/Tk/Widget/Menu.al in @INC
(@INC contains: CODE(0x80a546c) /usr/local/lib/perl5/5.8.8/BSDPAN
/usr/local/lib/perl5/site_perl/5.8.8/mach
/usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at
/usr/local/lib/perl5/site_perl/5.8.8/mach/Tk/Widget.pm line 301.
However, it works again if I specify a blib path containing Tk:
$ perl -MTest::Without::Module=Foo::Bar
-Mblib=/home/e/eserte/work/svk-checkouts/Tk -MTk -e 'tkinit->Menu'
There was no problem with a former version of the module (I think 0.06
was installed on my machine).
Regards,
Slaven