Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Do you know where your variables are?
 
PerlMonks  

Problem with running compiled perl code on Win7

by maciek (Initiate)
on Oct 10, 2012 at 07:31 UTC ( #998165=perlquestion: print w/ replies, xml ) Need Help??
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 do not include explicitly PerlIO::scalar
  • Perl script alone works fine
  • Compiled version works fine as well on my test environment
  • I cannot reproduce the error, and don't have access to the machine on which error appeared
I'd be gratefull for any tips what to check...

Comment on Problem with running compiled perl code on Win7
Download Code
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://998165]
Approved by philipbailey
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (15)
As of 2014-04-18 20:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (471 votes), past polls