Hmmm... I would have recommended the same thing as a possible solution.
>From what I see in the Perl FAQ there is an experimental C code generator,
and unless you do something special it embeds most of the Perl C code into
it anyway so that eval's can work.  And from what I have seen, you can use
perl2exe to create a small file (or maybe it was the AS one) if you also
distribute a shared library with it... so you aren't embedding the whole
Perl binary, and the shared library only needs to be downloaded once.

In my case I am interested in distributing a script without having to force
users to download and install Perl on Windows systems (not to hide the
source, or to make it run faster).

Is there a better way?

Just curious.

Rob


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 10:42 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: Perl Compiler


>>>>> "Jeffery" == Jeffery Sk1 Mohr <[EMAIL PROTECTED]> writes:

Jeffery> Follow this link:
Jeffery> http://www.indigostar.com/perl2exe.htm

Bleh!  why does this program keep getting brought up?

That's a "compiler" in the sense of "bundler", not in the sense of
"perl compiler", which is built in to /usr/bin/perl.  That *bundler*
does nothing to speed up the runtime of Perl (which is why people
usally want it) and in most cases actually *slows down* the startup of
Perl (which is another reason people ask for a "compiler"), and does
very little to obscure the source of the original program (which is
another nefarious use of such a tool).

OK, so it *does* allow you to distribute a single .exe that contains
your little tiny Perl script along with THE ENTIRE PERL RUNTIME
(so much for disk space... five of these, and you've got five
complete copies of Perl on your disk!).  But that advantage is completely
outweighed by the disadvantages above.

PLEASE STOP RECOMMENDING THIS PROGRAM.

PLEASE POINT PEOPLE TO THE FAQ WHICH DETAILS THIS.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl
training!

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to