[10584] in www-talk@info.cern.ch

home help back first fref pref prev next nref lref last post

Re: query

daemon@ATHENA.MIT.EDU (Abigail)
Wed Feb 5 10:35:43 1997

To: mkk41854@tree.egr.uh.edu (Mangesh K Kanaskar)
Date: Wed, 5 Feb 1997 10:26:25 -0500 (EST)
From: "Abigail" <abigail@ny.fnx.com>
Cc: www-talk@w3.org
Reply-To: abigail@ny.fnx.com
In-Reply-To: <9702050227.AA18764@tree.egr.uh.edu> from "Mangesh K Kanaskar" at Feb 4, 97 08:27:53 pm
Resent-From: www-talk@w3.org

You, Mangesh K Kanaskar, wrote:
++ 
++ Can anyone tell me what is the significance of the following
++ line in running perl scripts on Windows NT:
++ 
++ push(@INC,"/pub/other-directories/cgi-bin");

I wonder what this has to do with WWW...

But anyway, it adds a directory to search in when looking for
files to "use" or "require".

++ What is this required for?
++ 
++ Also what is the need of associating a .pl file with 
++ perl.exe?

perl.exe is your perl engine. The .pl file is your program.

BTW, never, never put your perl.exe in your cgi-bin. Unless you don't
mind your disks being cleared out.

See
<URL: http://www.perl.com/perl/news/latro-announce.html>
<URL: ftp://cert.org/pub/cert_advisories/CA-96.11.interpreters_in_cgi_bin_dir> 


Abigail


home help back first fref pref prev next nref lref last post