Tue Aug 02 05:26:22 2011: Request 69848 was acted upon.
Transaction: Correspondence added by RSCHUPP
       Queue: PAR-Packer
     Subject: pp created exe  crash if useing parallel loops
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: frank.w...@validusresearch.com
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=69848 >


On 2011-08-01 10:26:13, RSCHUPP wrote:
> I keep looking into this, 

The actual problem is that a packed script actually runs inside
a BEGIN block. If you simply put everything in your example script
(except the "use" statements) into a BEGIN block, then it
will blow up even unpacked.

The perlfork man page explicitly states that fork (i.e. the
emulation for Windows) might fail when invoked inside BEGIN.

As to why PAR::Packer wraps a packed script into a BEGIN block:
I don't know - it has always been the case (according to the
history in Subversion). 

Cheers, Roderich

Reply via email to