At 11:22 29.05.2001 +0100, you wrote:
> > you need to use
> >
> > #! perl (followed by whatever switches you want to use)
>The shebang is a typical UNIX thing, Windows doesn't use it.
>It mentions the "shell" used to execute the code below.
>Like mentioned before, you're explorer needs to be properly configgered.
>Some webservers on Windows DO look at that line (altho I don't know why)
>Apache & IIS don't need it, Xitami ,AFAIK, does.

You're right - except when you want to include other lib paths or use switches.

Since you often don't have control over the modules that are on a given 
server, I tend to install my own in a directory /lib off the cgi-bin 
directory.  That means I have to tell perl where to look for the modules 
I'm using that may not be included in the servers main lib directory.  So, 
I have to do something like
#! perl -I./lib

I end up using #! perl out of habit, even if I don't end up using switches.



Aaron Craig
Programming
iSoftitler.com

Reply via email to