I've been trying to get the new pp working to package up a Tk scipt which was failing
with v0.65 because it used autoloaded Widgets. Having upgraded to 0.66 the script
still doesn't work.
I saw the previous thread about this which seemed to conclude with:
> I got it. The binmode() on line 122 prevents any regex with \n to
> match correctly on Win32. Removing it should do the trick, as does
> the one-line regex in the current snapshot now.
..so I commented out the binmode() in both pp and pp.bat, but still no joy. The error
I'm getting is:
Tk::Error: Can't locate Tk/AddScrollbars.pm in @INC
(@INC contains: CODE(0x1409344) .) at /loader/0x137afd8/Tk/Widget.pm line 259.
Tk::Widget::_AutoloadTkWidget at /loader/0x137afd8/Tk/Widget.pm line 259
Tk::Widget::AUTOLOAD at /loader/0x137afd8/Tk/Widget.pm line 326
Tk::Widget::Scrolled at /loader/0x137afd8/Tk/MListbox.pm line 282
main::details at script/arrayplotter.pl line 700
main::__ANON__ at script/arrayplotter.pl line 521
(command bound to event)
I also tried re-inserting the regex solution:
> $content =~ s/if \(defined\(\$name=\$INC\{"\$pkg.pm"\}\)\)/if (0)/;
..but got an identical file to before.
Can anyone suggest how I can get this to work please?
Cheers
Simon.