P
P.R.Brady
I'm trying to generate a self-contained executable with pp but it is
fighting back and I think I have a major misunderstanding somewhere!
I gather that pp is part of PAR so I installed PAR first. Seemed to
install okay so I started with a really easy first example:
use warnings;
use strict;
print "hello\n";
perldoc pp seems to suggest that all I do is:
pp test.pl
but sadly it fails.
Would someone out there help with my understanding please?
1. In perldoc pp the examples have prompts which are either % and $.
The $ look like the command interpreter, but what's the % ? I'm issuing
the pp at the command prompt.
2. The -log feature of pp doesn't work:
pp test.pl -log test.log does not log, and redirection fails too:
pp test.pl>test.log
3. so hence I'll have to copy by hand:
pp test.pl responds:
------------------------------------------------------
Compress::Zlib object version 1.22 does not match bootstrap parameter
1.16 at /loader/0x8b08b8/DynaLoader.pm line 225
Compilation failed in require at /loader/0x8b08b8/Archive/Zip.pm line 24
BEGIN failed - compilation aborted at /loader/0x8b08b8/Archive/Zip.pm
line 24
Compilation failed in require in par.pl line 255
----------------------------------------------------
A ppm query Compress.Zlib confirms that the version is 1.22
Verify PAR confirms PAR is up to date, but remains mute when
I ask about Compress.Zlib.
verify --upgrade Compress.Zlib has not fixed it.
What might I be doing wrong?
Version of perl is v5.6.1 with one locally built patch 638 and I'm
running under Win XP.
Regards
Phil
fighting back and I think I have a major misunderstanding somewhere!
I gather that pp is part of PAR so I installed PAR first. Seemed to
install okay so I started with a really easy first example:
use warnings;
use strict;
print "hello\n";
perldoc pp seems to suggest that all I do is:
pp test.pl
but sadly it fails.
Would someone out there help with my understanding please?
1. In perldoc pp the examples have prompts which are either % and $.
The $ look like the command interpreter, but what's the % ? I'm issuing
the pp at the command prompt.
2. The -log feature of pp doesn't work:
pp test.pl -log test.log does not log, and redirection fails too:
pp test.pl>test.log
3. so hence I'll have to copy by hand:
pp test.pl responds:
------------------------------------------------------
Compress::Zlib object version 1.22 does not match bootstrap parameter
1.16 at /loader/0x8b08b8/DynaLoader.pm line 225
Compilation failed in require at /loader/0x8b08b8/Archive/Zip.pm line 24
BEGIN failed - compilation aborted at /loader/0x8b08b8/Archive/Zip.pm
line 24
Compilation failed in require in par.pl line 255
----------------------------------------------------
A ppm query Compress.Zlib confirms that the version is 1.22
Verify PAR confirms PAR is up to date, but remains mute when
I ask about Compress.Zlib.
verify --upgrade Compress.Zlib has not fixed it.
What might I be doing wrong?
Version of perl is v5.6.1 with one locally built patch 638 and I'm
running under Win XP.
Regards
Phil