Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can i make script executable or anyother suggestions 1

Status
Not open for further replies.
Mar 11, 2003
4
AE

I have a perl script on my local Windows 2000 workstation.

How can I make this an executable so I can put it on a
Windows 2000 Server and it can be used by anyone?

If I cant do an executable how would I put it on the server and
people would be able to use it?

I am running this on MSDOS command prompt on my local 2000 workstation.

How can I let people run it from a server after I upload it into
a directory on the server??
 
There are many different perl-code-compilers out there. Most of them are experimental and not very dependable. The other's cost money.

The company activestate has a Developers Kit for Perl which includes a compiler - it's not free.

The newer Perl distributions should come with a perlcc compiler, type 'perlcc' at the command line and see if you have it. This one is experimental, but it's interesting in that it converts your Perl code to C, and then uses a C compiler (which you would need to have on your machine) to compile that.

As far as executing your script from a server, if you can make it web based - well then it would be an easy answer.

But I suppose if you wanted people to telnet into the server and execute it remotely it would work - but thats not really what you want.

I guess it really depends on what your program does.

--jim
 
Program reads a document and gives information about it.

I assume you mean to make the Perl script into a CGI script on the server and go from there?
 

Copy perl.exe, perl56.dll and your script to the server. They all have to be in the same directory.

I've done this before. It works

HTH

tgus

____________________________
Families can be together forever...
 
You can compile your perl script into an executable by using Perl2Exe and then distribute the executable to everyone (if that's what you want to do). perl2exe is free, but it adds a little 'compiled by perl2exe...come to our website' note at the end of every compiled script from the command prompt. For $50, you can register it and get rid of that small advertisement.

Get Perl2Exe from indigostar.com or perl2exe.com.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top