I have used PAR successfully to package my app in the past. Just got a new PC and loaded on recent perl (5.8.6), and whatever the latest wxperl is. My script runs fine without PAR, but using PAR gives an error:

Z:\perl\CompressMail\test>ExpressMail.exe
Can't locate Tie/Handle.pm in @INC (@INC contains: CODE(0xdcc640) C:\DOCUME~1\edward\LOCALS~1\Temp\par-edward\cache-b53bc287bdf8f848e4f8e830715343cc1b1da556/inc/lib C:\DOCUME~1\edward\LOCALS~1\Temp\par-edward\cache-b53bc287bdf8f848e4f8e830715343cc1b1da556/inc CODE(0xd53208) .) at Wx.pm line 209.
Compilation failed in require at script/wxGui.pl line 9.
BEGIN failed--compilation aborted at script/wxGui.pl line 9.
BEGIN failed--compilation aborted at -e line 835.


I just can't figure it out because the error goes away if I run the exe in the same dir as the original script, which suggests that it's related to something not being included

However, if I check the par file then it definitely DOESNT have Tie::Handle included, and more annoyingly even if I do -M Tie::Handle or even put "use Tie::Handle;" at the top of the script it still doesn't include Tie::Handle!! Grrr. Why is it excluding it even when I try to force it??!

Any thoughts.  Probably something totally obvious and operator error...

Thanks

Ed W



Reply via email to