Date: | Sun, 9 Jan 2005 22:53:14 +0800 |
From: | Julius C Duque <jcduque [...] gmail.com> |
To: | bug-par [...] rt.cpan.org |
Subject: | Bug in PAR? |
Hi all,
I'm using ActivePerl 5.8.6 Build 811, Windows 2000, and PAR 0.86. My compiler is
the free MS visual C++ 2003 (from Microsoft's website).
If I compile a Perl script, hash.pl, like this:
pp -o hash.exe -f Obfuscate -f PodStrip -z=9 hash.pl
and run the resulting executable, hash.exe:
hash -r -a .
I get this error:
----------------------------------
Undefined subroutine &main::performance called at hash.pl line 42.
----------------------------------
However, if I rearrange the order of options in the compilation, like this:
pp -o hash.exe -f PodStrip -f Obfuscate -z=9 hash.pl
and run the executable:
hash -r -a .
I get this error, instead:
----------------------------------
String found where operator expected at script/hash.pl line 10, near "GetOptions
'digest=s'"
(Do you need to predeclare GetOptions?)
syntax error at script/hash.pl line 10, near "GetOptions 'digest=s'"
----------------------------------
Attached is the script, hash.pl. You may need to install Digest::SHA
if you haven't installed
it yet.
Regards,
Julius
Message body is not shown because sender requested not to inline it.