CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
perl on a Mac server running WebStar

 



gambler
Deleted

Jan 3, 2001, 12:47 PM

Post #1 of 1 (176 views)
perl on a Mac server running WebStar Can't Post

I have developed a small script for reading and parsing files from the weather office. The script works great on a NT server but now I have to move it to a Mac server running WebStar. I continue to recieve an error message "syntax error, near BEGIN at line 0".

I have not used a BEGIN sub in the script. I have changed all the "\" to ":" in the file references,change the opening line to #!perl -w and saved the file as a .acgi using MacPerl's built in editor. The file is located in the cgi-bin and appears to be associated properly. The file was created in "Textpad" and saved in Mac format using ANSI encoding.

Does anybody have any suggestions???


 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives