From: "James Wright" <[EMAIL PROTECTED]> > When you installed Activestate you probably let it create windows > associations with PL and well as put the path to perl into your > autoexec.bat.
I believe it was done by default. I did'nt do anything, I simply installed Activestate and the path to perl was written into the autoexec.bat by default. > But since CGI is not defined, the direction statement works. As I am very new to perl and perl is my first programming language, could you give me an example of "CGI is not defined" or " CGI is defined" >To make PL do that, remove its' associations from Windows. If you are referring to Windows explorer, I know how to remove the association. If you are refering to MSIE, please tell me how to remove the .pl association. I am still learning ! Thanks ##### end of msg ####### > > ----- Original Message ----- > From: "feliciahk" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, 17 October, 2001 22:03 > Subject: Re: [sambar] How to use CGI ? > > > > > Change the extension to .cgi and you can set the she-bang. > > > > You are absolutely right Melvyn! I've changed the extension from .pl > to .cgi > > and immediately the she-bang is recognised. > > > > Is there a way to set she-bang with extension of .pl? > > > > Thanks > > > > ----- Original Message ----- > > From: Melvyn Sopacua <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Wednesday, October 17, 2001 4:35 PM > > Subject: Re: [sambar] How to use CGI ? > > > > > > > At 06:42 17-10-01, you wrote: > > > > > > >Without any other alteration except the config file mentioned > above, I > > noted > > > >that Sambar disregard the first line shebang #! and most probably > treat > > the > > > >shebang as a comment #. Is this the way Sambar works? Have I > missed > > > >anything? or maybe this is the way ActivePerl works. > > > > > > As I posted earlier: > > > "The Sambar Server attempts to discover the interpreter for the > CGI using > > > the following search path (in order): > > > � .pl, .bat and .exe file extensions are associated with by the > Sambar > > > Server using their pre-defined interpreters. > > > � Look for an interpreter on the first line of the file (#! > syntax) > > > � Look for a File Association with the extension " > > > > > > Change the extension to .cgi and you can set the she-bang. > > > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -------------------------------------------------------------------------------- For unsubscription of this list send an email to [EMAIL PROTECTED] with email data containing unsubscribe emailadd sambar
