Link to home
Start Free TrialLog in
Avatar of scrapdog
scrapdogFlag for United States of America

asked on

stupid question II

Now that I have the tutorials (please see original "stupid question"), what all do I need to begin writing perl scripts?

I am using Windows 98, but I am not sure what OS the server I will be uploading to is running.  I have very little info about the server...does it need a special program running in order to utilize perl scripts?  Or do you upload an executable?  Like I said I know very little about perl so these questions are going to appear to be very stupid to the likes of b2pi and ozzy and the other perl gurus.
ASKER CERTIFIED SOLUTION
Avatar of cheekycj
cheekycj
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Also to upload the scripts onto your server (once you have them working locally)
you will probably need to make the following modifications to your script files (extensions
cgi or pl)

First you will use your ISP's perl compiler (Its hard to find an ISP that doesn't have one)
to do that change the first line to the location of perl on your server rather than your local PC (ask the ISP about the perl location path)

probably change some of the paths in your scripts itself- if you are using any mail
programs or unix date commands.

Also when you ftp the files (cgi or pl files) to your cgi-bin directory on your server make sure you
ftp as ASCII only (not automatic) so it doesn't ftp the carriage returns that PC's add
on at the end as Perl in unix doesn't like them.


One last thing-  when you are using notepad or whatever to create the scripts save them
as-  .pl  or  .cgi

CJ
Avatar of scrapdog

ASKER

Adjusted points to 30
Excellent.  Thanks!