Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Compile?

by lo_tech (Scribe)
on Aug 28, 2001 at 07:11 UTC ( #108342=note: print w/replies, xml ) Need Help??


in reply to Is it possible to compile a Perl program into a .exe?

A compiler for Perl is now part of the standard Perl dist, as of Perl 5.005. The compiler allows you to distribute compiled Perl programs in binary form, which enables easy packaging of Perl-based programs without having to depend on the source machine having the correct version of Perl and all of the dependent modules installed.

I've had some success with perlcc on Unix systems (well, aix and solaris) but havent tried the outlandish.
I've never attempted to:

  • compile a script on windows (NT 4.0 SP-5) and run it on a different OS (say, Windows NT, SP-6), or
  • run a unix-compiled perl exe on a Windows system.

    I'm not a unix snob, have never professed to be a magician and generally do not wish to start a OS holy war.

    If anyone else has had some success, please post. I'd like to know how and what tools you used for debugging the compiled script.

    I am but an egg. -RAH

  • Log In?
    Username:
    Password:

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

    How do I use this? | Other CB clients
    Other Users?
    Others chanting in the Monastery: (3)
    As of 2021-03-01 06:50 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found

      Notices?