|
To run your first perl script you must type the text into a text editor and save the file in your cgi-bin directory. Most people use pico, vi or emacs as their text editor, you should use the one that you are comfortable with:
More editors can be found at: www.linux.com/interact/links/Software/Editors/
After the file has been entered and saved you now need to make it executable. To do this you must run the following command:
chmod u+x file_name.pl
at the UNIX prompt, where file_name.pl is the program. Now to run the program just type any of the following at the prompt.
perl file_name.pl
./file_name.pl

|