|more useful options|
Re: PP - am I crazy or what!?by teabag (Pilgrim)
|on Oct 15, 2003 at 13:17 UTC||Need Help??|
I also had some trouble with standalone scripts made with PAR and found out it doesn't automatically import all TK modules you used. I think it also doesn't follow modules that are used by other modules you used in your script.
F.I. I used
Which worked in my normal perl script but to get it working with PAR as a PAR standalone executable I had to use:
The same goes for:
One of these seems to use Carp::Heavy;
When I included the extra modules my standalone exe worked like a charm. I found out which modules were missing by running the exe from the commandline on a machine on which I have no perl installed. The error output tell you the missing modulename. In your case you have to include at least;
I hope it solves your problems. It worked for me ;)
P.S. If it all works you might want to use the option --gui to get rid of the dos window.
Sure there's more than one way, but one just needs one anyway - Teabag