http://qs321.pair.com?node_id=108342


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