Hi Bianka,

I can give you some information, but probably not much.

[EMAIL PROTECTED] schrieb:
I'm planning to use PAR for a cross platform application, but I have
some problems. :/

1. When using
pp -x -o bla.exe bla.pl
no libs are included into the resulting .exe file. Instead, simply the
contents of the current directory are packed into the .exe.

This seems odd to me. Can you give us a full example? Do you need the execution-scan -x?

2. Using
pp -x -m -o bla.par bla.pl
results to an archive containing all required libs for the current
platform (Windows, in this case.), which is fine. ;) But after copying
it to another Windows machine, 'perl bla.par' results to 'unrecognized
character \x03 at bla.par line 1.', while 'parl bla.par' complains
about missing modules. :(

Now, you cannot execute a .par file using perl. The perl parser would try to execute a zip file. (See the -P option to pp for that.) "parl bla.par" is probably the most common way to do this. Can you be a little more elaborate about the errors from parl bla.par? What's in bla.par? Try unzipping it.

Best regards,
Steffen

Reply via email to