English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

i have a perl script but what all do i need to get so that i can run it? if you have some sources please share

2007-08-10 15:10:02 · 2 answers · asked by Anonymous in Computers & Internet Programming & Design

2 answers

You need a Perl interpreter. Most versions of Unix and Linux come with Perl. You can get a download a free Perl interpreter for a Windows computer from Active State: http://www.activestate.com/Products/activeperl/


If you want to run the script over the Web, you need a web server that supports Perl (most do). Installing scripts on your web site will vary depending on your ISP and the operating system they use. On a typical Linux/Apache server you need the path to the interpreter in the first line, preceded by #!, then put the script in the appropriate directory and make it executable.

2007-08-10 15:25:17 · answer #1 · answered by injanier 7 · 2 0

Okay you have a perl script I assume that the script is capable of running (no errors) path to perl defined. If this script has been run before I would assume yes!

The easiest way to run it would be place this script on a computer running linux. At a bash prompt chmod of the script using chmod 777 nameofscript . Then just type ./nameofscript When I say type nameofscript this is the name of the script you are trying to run.

The bash prompt is similar to a DOS prompt. I hope this helps!

2007-08-10 15:39:06 · answer #2 · answered by lcalow 1 · 0 0

fedest.com, questions and answers