Larsen, Errin M HMMA/IT wrote:

Larsen, Errin M HMMA/IT wrote:
Binish A R wrote:
Does anyone knows how to compile perl scripts to executables? I'm
working on RH Linux and would like to know the details. I know that I
can use perlcc to do that ... but it isn't compiling anything other
than a simple 'hello world' program :(

Is there any other tools besides perlcc ??

Thanks in advance


/binish/
Wow.

I KNEW something was missing lately on this list: I haven't seen a
good "How do I compile my Perl" thread in quite some time!  I look
forward to all the posts about why and why not to compile your Perl!!
Just be glad you didn't indicate that you wanted to compile for
obfuscation reasons, that really sets some people off!!
In the meantime, Binish, check out this earlier thread for some links:


http://groups.google.com/group/perl.beginners/browse_frm/thread/c5e3ef71
88def85e

--Errin Larsen

OK ... That link didn't work AT ALL!!

I'll just cut and paste the discussion below:



1. De Joe         May 29 2003, 6:48 pm     show options
Newsgroups: perl.beginners
From: [EMAIL PROTECTED] (De Joe) - Find messages by this author
Date: Thu, 29 May 2003 18:30:49 -0500
Local: Thurs, May 29 2003 6:30 pm
Subject: Can I compile perl so I can run a perl script without having
perl installed?
Reply to Author | Forward | Print | Individual Message | Show original |
Report Abuse

Can I compile perl so I can run a perl script without having perl
installed?

Thanks,
Jackie

        
2. Jenda Krynicky         May 30 2003, 8:00 am     show options
Newsgroups: perl.beginners
From: [EMAIL PROTECTED] (Jenda Krynicky) - Find messages by this author
Date: Fri, 30 May 2003 14:56:31 +0200
Local: Fri, May 30 2003 7:56 am
Subject: Re: Can I compile perl so I can run a perl script without
having perl installed?
Reply to Author | Forward | Print | Individual Message | Show original |
Report Abuse

From: "De Joe, Jackie" <[EMAIL PROTECTED]>

Can I compile perl so I can run a perl script without having perl
installed?

Yes. And you may even choose which tool to use:

PAR - free
       http://search.cpan.org/search? mode=all&query=PAR

PerlApp - part of Perl Development Kit
       http://www.activestate.com/Pro ducts/Perl_Dev_Kit/

Perl2Exe
       www.perl2exe.com

HTH, Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery
the link is http://groups.google.com/group/perl.beginners/browse_frm/thread/c5e3ef7188def85e

I've just installed it and is working really great.
Its just like perlcc when considering the size of binary created ( always ~4M, 
with stripping it'll be ~3M though )
But is better than perlcc in the sense that it will always compile the script to binary :) Thatz exactly what I needed :D


Thankz Errin and all  ...

/binish/





--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to