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

How do I compile my script so that it becomes a standalone executable?

by Anonymous Monk
on Mar 17, 2000 at 08:44 UTC ( #5521=categorized question: print w/replies, xml ) Need Help??
Contributed by Anonymous Monk on Mar 17, 2000 at 08:44 UTC
Q&A  > programs and processes


Answer: How do I compile my script so that it becomes a standalone executable?
contributed by Anonymous Monk

There is a program out there called perl2exe, by IndigoStar. Note that it is shareware; be sure to read the license agreement.

Answer: How do I compile my script so that it becomes a standalone executable?
contributed by Sniper

ActiveState's Perl Dev Kit (PDK) includes a tool called PerlApp, which lets you:

"Deploy Perl programs to any platform with its cross-platform wrapping. Deliver code as executables, Windows Services, ActiveX components, .NET assemblies.... Create MSI files..."
It also supports remote debugging.

Note that PerlApp does not "compile" your script. It encrypts it and wraps it in an .exe file, along with any modules used. When you run the .exe, it uncompresses the contained sources, and then runs the perl interpreter.

Answer: How do I compile my script so that it becomes a standalone executable?
contributed by Mr. Muskrat

Check out PAR, the Perl Archive Toolkit.

It has been claimed that PAR handles security issues better than perl2exe or PerlApp.

Answer: How do I compile my script so that it becomes a standalone executable?
contributed by Flame

Check out PerlBin. It works on any platform, with any working build of perl; and you can package up your program as a zip file, tar ball, rpm, or whatever.

Answer: How do I compile my script so that it becomes a standalone executable?
contributed by devslashneil

perlcc, which is now part of the B::C distro.

It is alleged that perlcc does not work on Windows with standard perl builds (e.g. ActiveState, strawberry) due to missing symbols in the perl*.dll. Alternative builds of perl (such as cperl, which is by the author of perlcc itself) don't have this issue. Also, perlcc works fine on non-Windows platforms.

Please (register and) log in if you wish to add an answer



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and all is quiet...

    How do I use this? | Other CB clients
    Other Users?
    Others wandering the Monastery: (9)
    As of 2016-12-06 17:19 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      On a regular basis, I'm most likely to spy upon:













      Results (112 votes). Check out past polls.