develooper Front page | perl.beginners | Postings from May 2008

Re: how to reun perl script on other pc without having to install perl

Thread Previous
From:
Chas. Owens
Date:
May 3, 2008 22:13
Subject:
Re: how to reun perl script on other pc without having to install perl
On Sun, May 4, 2008 at 1:09 AM, J. Peng <peng.kyo@gmail.com> wrote:
> On Sun, May 4, 2008 at 12:58 PM,  <itshardtogetone@hotmail.com> wrote:
>  >  What must I do to my perl script so that my friends can run my perl script from their computer, using windows as the operating system, without having to install perl into their system.
>
>  Sorry to tell you, it's impossible.
>  Trying to compile perl scripts is always a bad idea.
snip

No, trying to hide your code is bad (since it can almost always be
recovered).  Creating a PAR executable is very useful.  Not everyone
has, or wants to install, Perl.  Being able to provide a single file
(which contains the perl interpreter, your script, and all of the
dependent modules) to those users is wonderful.

-- 
Chas. Owens
wonkden.net
The most important skill a programmer can have is the ability to read.

Thread Previous


Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About