Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Windows .exe produced by pp no longer runs?

by elef (Friar)
on Jan 25, 2011 at 09:42 UTC ( #884084=note: print w/ replies, xml ) Need Help??

in reply to Windows .exe produced by pp no longer runs?

Add a -x switch to your pp command.
That tells pp to run the script and monitor what modules are loaded, and package all of them with the script. In my experience, that usually solves the problem, because it picks up some module pp didn't find by itself and that you didn't think of, either.

Comment on Re: Windows .exe produced by pp no longer runs?
Replies are listed 'Best First'.
Re^2: Windows .exe produced by pp no longer runs?
by Anonymous Monk on Jan 25, 2011 at 10:12 UTC
    That works for .pm files, but not for .dll files, for that you need alternative means
      Do we know that the issue is caused by a .dll? I'd think -x is always worth a try, and if it doesn't solve it, one can go on to try other things.
        Compiling something in Wine, to move to a Win32 machine, usually needs different .dlls

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://884084]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (12)
As of 2015-10-09 12:15 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (240 votes), past polls