Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

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/ 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...

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 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.

        Are you suggesting, that just 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://998165]
Approved by philipbailey
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2018-06-25 04:30 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (126 votes). Check out past polls.