A couple of bugs to report I'm afraid...

1) When installing a new version of PAR over an old version installed by ppm on 
Windows nmake incorrectly identifies some files as unchanging and fails to update 
them, resulting in a broken install.  After I went through the files reported as 
unchanging and deleted them all and did a fresh "nmake install" everything started 
working. A quick work-round might be to force an update of all files each time on 
Win32?

2) The -w flag on the shebang line seems to get ignored when compiling scripts with 
pp, as no warnings are produced by the created exe.  If I replace this with a "use 
warnings" statement then everything works as expected.

3) Scripts using Math::BigInt won't compile with pp.  I get a warning saying:

Couldn't load any math lib, not even the default at C:/Perl/lib/Math/BigInt.pm line 
2427.
BEGIN failed--compilation aborted at script/bigint.pl line 4.

The warning here seems strange as it reports the error in the locally installed 
BigInt.pm, not one extracted from a PAR archive.  The script to generate this was just:

#!perl
use warnings;
use strict;
use Math::BigInt;

my $x = Math::BigInt->new('10000000');

print $x->bsqrt() , "\n";

4) One last little one :-) The file details for pp generated .exes are a bit strange 
(the things you get if you set your file view to "tiles" or if you hold your mouse 
over a file).  For instance the perl interpreter details say:

perl.exe
Description: Perl Command Line Interpreter
Company: ActiveState Tool Corp.
File Version: 5.8.0.806

..but the one for parl (and all pp generated exes) says

parl.exe
Description: PAR_XXXXXXXXXXXXXXXXXXXX [lots more of these!]
Company: PAR_XXXXXXXXXXXXXXXXXXXX [lots more of these!]
File Version: 0.0.0.0

I'm not particularly bothered about being able to fill these in (although that might 
be nice), but putting a shorter (or even no) string in instead would look better.

All of this is with PAR-0.74 on Perl 5.8.0 under WinXP.

Cheers

Simon.

-- 
Simon Andrews PhD
Bioinformatics Dept
The Babraham Institute

[EMAIL PROTECTED]
+44 (0)1223 496463 

Reply via email to