> > When i access the site and run the search engine, i get the following: > > Diagnostic Output > > #vars.cgi did not return a true value. > > File 'MacintoshHD:WebRoot:cgi-bin:Mtsearch.cgi'; line 15 Well, i also noticed that i get a message in the background that says: This progam relays MacHTTP search AppleEvents to MacPerl. It will terminate in 5 minutes of inactivity. (button)Quit now > > I looked at your files and didn't notice anything quickly. > > What your error message is telling you is that the perl libraries you > are requiring don't return true. That surprises me, as the last line > in vars.pl > is: > > $ignore_chars .= "' "; > > ...which I would have thought would return TRUE. > > However, it is traditional in perl libraries and modules to end them > with the line: > > 1; > > ...simply to make sure they return true. I just tried that and nothing new... > > The other thing I note is that you say these work under Unix but not > under Mac OS. I'm wondering if you have the right kind of newlines? > Mac uses the carriage return (ASCII 13) whereas Unix uses a line feed > (ASCII 10). If you transfer your scripts as text, this should be > converted automatically. > > I'm a little hazy on when incorrect line ends cause trouble and when > they don't, but the safest thing is to always convert line ends. > > BBEdit lite (which is free) will read and write different line ends > so it can be used to: > 1) determine what you have, > 2) make it into what you want. > I used the MacPerl to save as cgi ...does that convert the newlines..??? Thanks again... Alvy ==== Want to unsubscribe from this list? ==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org