Re: query

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 UTC