W3C home > Mailing lists > Public > www-talk@w3.org > January to February 1997

Re: query

From: Abigail <abigail@ny.fnx.com>
Date: Wed, 5 Feb 1997 10:26:25 -0500 (EST)
Message-Id: <199702051526.KAA14714@melgor.ny.fnx.com>
To: mkk41854@tree.egr.uh.edu (Mangesh K Kanaskar)
Cc: 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
Received on Wednesday, 5 February 1997 10:25:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:22 GMT