I think we all need more info on what your problem is.  Are you trying to
run the script in the cgi-bin directory as a CGI application?  If so you can
run into problems just by ftp-ing the script to the server in binary mode
instead of ascii mode.

Any script you run on a Unix Server will require the path to that script's
interpreter, whether it's a shell script, a perl script, or *gasp* a tcl
script.  The way to define the path to the interpreter is by adding a line
started with what's known as a she-bang which is a #!  

So if you installed perl in /usr/bin then you will need to start your script
with a  #!/usr/bin.

Hope this helps you.

Jason

-----Original Message-----
From: Britt [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, November 01, 2001 6:12 PM
To: [EMAIL PROTECTED]
Subject: [Perl-unix-users] Script works on Windows server but not on UNIX
server

I am puzzeled that a script will work on Windows servers and not on UNIX
servers.Even a script as simple as hello.pl
 
 
 
Any ideas for a begginer?
_______________________________________________
Perl-Unix-Users mailing list. To unsubscribe go to 
http://listserv.ActiveState.com/mailman/subscribe/perl-unix-users


Reply via email to