maciek has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks ;)
I have a perl script compiled to .exe on Win7 under Strawberry perl (5.14.2) 32bit version, by the PAR::Packer.
There was one time occurence, when such compiled script returned on the run:
PerlIO/scalar.pm did not return a true value at -e line 358.
Do you have any idea what was wrong?
Some additional info:
I'd be gratefull for any tips what to check...

Replies are listed 'Best First'.
Re: Problem with running compiled perl code on Win7
by Anonymous Monk on Oct 10, 2012 at 08:13 UTC
      Are you suggesting, that just PerlIO::scalar.pm was not packed into my .exe?
      But the problem is that on very 'fresh' Win7 system (without any perl installed) it works fine. But there was one case, when it raised mentioned error.
      Another thing is that if module cannot be found it's other error message then. The one I've received suggests, that module was found but did not load properly.
      But I'm not a monk :) Correct me if I'm wrong.
      Thanks!

        Are you suggesting, that just PerlIO::scalar.pm was not packed into my .exe?

        No, I'm suggesting that you get diagnostical :) exactly as marto and I showed, and you figure it out, or post something to test