Very simple question, installing script for Perl
Hello, I have never installed anything using Perl before and I wanted to ask how I go about doing this. I think I understand but I dont want to mess anything up. Here is a copy of the install file:
Given a file input and file output, it will rewrite your web page for the upcoming W3 standards.
1) Transfer newhtml.pl into your home directory or the directory where all your files are
2) Chmod this folder to 777
3) Configure the file (read Configuration section)
1) Change the location of perl (first line) to the location of perl on your server
2) Change $file to the file name of the .html (or .txt) of the file you want to rewrite
3) Change the $save to a new name you want the new page to be saved as. Common use would be adding the number 1 after the name you called file.
$file = "index.html";
$save = "index1.html";
How to use:
1) After you make the configurations, run newhtml.pl in your web browser. It will say it's done if everything went okay.
2) Go to the new file it just made, whatever you named $save as, in your browser. If the page loads fine without error, delete the original copy and rename this to the original file name."
My questions are, how do I find the location of my perl server? DO I add this script to my public_html directory so that everyone has access to this script? I am running linux. Thanks
If its not there you can use "whereis perl" to find out
|All times are GMT -5. The time now is 10:04 AM.|