Hi,

I just had problems using pp with -f Bytecode and found it relates
directly to the size of the script.

example:

- snip -
use strict;
use warnings;

# hint only, -M ByteLoader doesn't seem to work
require ByteLoader if 0; 

my %data;

$data{'11111111111111111111'} = 'aaaaaaaaaaaaaaaaaaaa';

print scalar keys %data;
- snip -

with pp -c -f Bytecode -o test.exe test.pl

you'll get an executable that outputs "1".

Now duplicate the $data{.... line a few hundred times and try again.
Here the executable works up to 314 lines, after that it dumps core.

This is reproducable with every script that extends a certain size.

perl 5.8.8 (Win32)
PAR              (svn version 466)
PAR::Packer      (svn version 466)
Module::ScanDeps (svn version 482)

In my old installation 

perl 5.8.4 (Win32)
PAR  0.89
Module::ScanDeps 0.45

everything works as expected.

-- 
$/=$,,$_=<DATA>,s,(.*),$1,see;__END__
s,^(.*\043),,mg,@_=map{[split'']}split;{#>J~.>_an~>>e~......>r~
$_=$_[$%][$"];y,<~>^,-++-,?{$/=--$|?'"':#..u.t.^.o.P.r.>ha~.e..
'%',s,(.),\$$/$1=1,,$;=$_}:/\w/?{y,_, ,,#..>s^~ht<._..._..c....
print}:y,.,,||last,,,,,,$_=$;;eval,redo}#.....>.e.r^.>l^..>k^.- 
-- 
LRP Landesbank Rheinland-Pfalz
Vorsitzender des Verwaltungsrates: Dr. Siegfried Jaschinski
Vorsitzender der Tragerversammlung: Prasident Peter Schneider 
Vorstand: Dr. Friedhelm Plogmann (Vors.), Daniel F. Juncker, Hans-Joachim 
Struder, Hubert Suhr 
Rechtsform: Anstalt des offentlichen Rechts
Amtsgericht Mainz HRA 3557
USt-Id-Nr.: DE 149 065 433 
Der Inhalt dieser E-Mail ist vertraulich. Falls Sie nicht der angegebene 
Empfanger sind oder falls diese E-Mail irrtumlich an Sie adressiert wurde, 
verstandigen Sie bitte den Absender sofort und loschen Sie die E-Mail sodann. 
Das unerlaubte Kopieren sowie die unbefugte Ubermittlung sind nicht gestattet. 
Die Sicherheit von Ubermittlungen per E-Mail kann nicht garantiert werden. 
Falls Sie eine Bestatigung wunschen, fordern Sie bitte den Inhalt der E-Mail 
als Hardcopy an. 

Chairman of the Supervisory Board: Dr. Siegfried Jaschinski
Chairman of the Owners' Meeting: President Peter Schneider 
Managing Board: Dr. Friedhelm Plogmann (Chairman), Daniel F. Juncker, 
Hans-Joachim Struder, Hubert Suhr 
Legal form: Institution under Public Law
Amtsgericht Mainz HRA 3557
VAT identification number: DE 149 065 433 
The contents of this e-mail are confidential. If you are not the named 
addressee or if this transmission has been addressed to you in error, please 
notify the sender immediately and then delete this e-mail. Any unauthorized 
copying and transmission is forbidden. E-mail transmission cannot be guaranteed 
to be secure. If verification is required, please request a hard copy version.

Reply via email to