Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Is it possible to run a perl script in a machine where Active perl is not installed.

Reply
Thread Tools

Is it possible to run a perl script in a machine where Active perl is not installed.

 
 
hara
Guest
Posts: n/a
 
      05-26-2006
Is there any way by which i can run perl script in any machine without
installing active perl
in that machine.


I am asking this because Autoit script can be used to run in any
machine without installing autoit in that machine.(Ofcourse this is
possible because its using the functions of Windows only.

 
Reply With Quote
 
 
 
 
Murugesh
Guest
Posts: n/a
 
      05-26-2006
convert the perl file into exe file using "perl2exe" tool and run

hara wrote:

>Is there any way by which i can run perl script in any machine without
>installing active perl
>in that machine.
>
>
>I am asking this because Autoit script can be used to run in any
>machine without installing autoit in that machine.(Ofcourse this is
>possible because its using the functions of Windows only.
>
>
>

 
Reply With Quote
 
 
 
 
David Squire
Guest
Posts: n/a
 
      05-26-2006
hara wrote:
> Is there any way by which i can run perl script in any machine without
> installing active perl
> in that machine.


Answers:

1. Yes - on any machine running a UNIXish OS, you would not use the
ActivePerl distribution.
2. If you are on a MS Windows platform you certainly need a Perl
interpreter, but that can be bundled with your program into a single
..exe for distribution to machines that don't have Perl installed. See
for example
http://www.activestate.com/Products/...formation.plex

DS
 
Reply With Quote
 
John Bokma
Guest
Posts: n/a
 
      05-26-2006
David Squire <> wrote:

> hara wrote:
>> Is there any way by which i can run perl script in any machine without
>> installing active perl
>> in that machine.

>
> Answers:
>
> 1. Yes - on any machine running a UNIXish OS, you would not use the
> ActivePerl distribution.


Wrong:
"ActivePerl

Free, quality-assured and ready-to-install Perl distribution for AIX, HP-
UX, Linux, Mac OS X, Solaris, and Windows."
<http://activestate.com/Perl.plex?hdr=1>

Notice that Windows is the only not-UNIXish OS in that list of 5
Also, the source is available AFAIK, so compiling might be possible on
other UNIXish OSes, especially since it has already been done for several.

> 2. If you are on a MS Windows platform you certainly need a Perl
> interpreter, but that can be bundled with your program into a single
> .exe for distribution to machines that don't have Perl installed. See
> for example
> http://www.activestate.com/Products/...formation.plex


Or PAR: http://par.wikia.com/wiki/Main_Page

--
John Bokma Freelance software developer
&
Experienced Perl programmer: http://castleamber.com/
 
Reply With Quote
 
David Squire
Guest
Posts: n/a
 
      05-26-2006
John Bokma wrote:
> David Squire <> wrote:
>
>> hara wrote:
>>> Is there any way by which i can run perl script in any machine without
>>> installing active perl
>>> in that machine.

>> Answers:
>>
>> 1. Yes - on any machine running a UNIXish OS, you would not use the
>> ActivePerl distribution.

>
> Wrong:
> "ActivePerl
>
> Free, quality-assured and ready-to-install Perl distribution for AIX, HP-
> UX, Linux, Mac OS X, Solaris, and Windows."
> <http://activestate.com/Perl.plex?hdr=1>


I did not say that it could not be done, only that it would not.

Perhaps an over-generalization. I should have qualified it with
"usually". I persoally don't know any folk using UNIXish OSs who use
ActivePerl, since Perl is very frequently part of the base distribution,
and if not is easily installed using RPMs, Debian packages, etc. or
(perhaps a little less easily) from source. Still, I guess they are out
there.

DS
 
Reply With Quote
 
John Bokma
Guest
Posts: n/a
 
      05-26-2006
David Squire <> wrote:

> John Bokma wrote:
>> David Squire <> wrote:
>>
>>> hara wrote:
>>>> Is there any way by which i can run perl script in any machine
>>>> without installing active perl
>>>> in that machine.
>>> Answers:
>>>
>>> 1. Yes - on any machine running a UNIXish OS, you would not use the
>>> ActivePerl distribution.

>>
>> Wrong:
>> "ActivePerl
>>
>> Free, quality-assured and ready-to-install Perl distribution for AIX,
>> HP- UX, Linux, Mac OS X, Solaris, and Windows."
>> <http://activestate.com/Perl.plex?hdr=1>

>
> I did not say that it could not be done, only that it would not.


No, no, no; no excuses now

> Perhaps an over-generalization. I should have qualified it with
> "usually".


So you think ActiveState just makes 5 additional versions just for fun?

> I persoally don't know any folk using UNIXish OSs who use
> ActivePerl, since Perl is very frequently part of the base
> distribution,


Sometimes those versions are outdated. I recall I had to install Perl on
IRIX, since the version that came with it was quite outdated.

> and if not is easily installed using RPMs, Debian
> packages, etc. or (perhaps a little less easily) from source. Still, I
> guess they are out there.


I am sure they are .

--
John Bokma Freelance software developer
&
Experienced Perl programmer: http://castleamber.com/
 
Reply With Quote
 
Peter Scott
Guest
Posts: n/a
 
      05-27-2006
On Fri, 26 May 2006 17:47:35 +0100, David Squire wrote:
> John Bokma wrote:
>> David Squire <> wrote:
>>> 1. Yes - on any machine running a UNIXish OS, you would not use the
>>> ActivePerl distribution.

>>
>> Wrong:
>> "ActivePerl

>
> I did not say that it could not be done, only that it would not.
>
> Perhaps an over-generalization. I should have qualified it with
> "usually". I personally don't know any folk using UNIXish OSs who use
> ActivePerl,


I once had to deal with a crippled hosting service running an outdated
perl and no C compiler. ActiveState Perl for Linux saved the day.

--
Peter Scott
http://www.perlmedic.com/
http://www.perldebugged.com/

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Machine A python script execute Machine B python script? johnny Python 5 07-11-2007 01:03 PM
Help: how to run programs on a remote machine with Perl script... Dune Perl Misc 4 06-02-2006 09:12 PM
how to run perl script from a perl script? anywherenotes@gmail.com Perl Misc 6 04-13-2005 11:19 PM
I can not run existing web service to other machine (as soon as possible) Bilsed ASP .Net Web Services 3 04-25-2004 03:21 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57