Perlfect Solutions
 

[Perlfect-search] joker search problem

Joan Foo perlfect-search@perlfect.com
Tue, 24 Sep 2002 13:33:40 +0300
Hi,
I checked the syntax as you suggested, and it returned "syntax OK".
I also tryied to reinstall the everything, but I still can't get it working. 
When I search for a keyword without "*", everything works fine, but when I 
add the "*" at the end, I get a server error message. This is what i got 
from the server error log:

cgi_scan_headers reports: the CGI program search.pl did not produce a valid 
header (name without value: got line "^+ matches null string many times at 
search.pl line 251.")

Line 251 contains the following statement:
if( $listterm =~ m/^$term$/i ) {

Any suggestions?
Thank you again, Joan


>From: Daniel Naber <daniel.naber@t-online.de>
>Reply-To: perlfect-search@perlfect.com
>To: perlfect-search@perlfect.com
>CC: "Joan Foo" <glitter2058@hotmail.com>
>Subject: Re: [Perlfect-search] joker search problem
>Date: Thu, 19 Sep 2002 13:47:47 +0200
>
>On Thursday 19 September 2002 09:44, Joan Foo wrote:
>
> > So, my question is, does the patch require that i also update my perl?
>
>No, I guess the patch didn't apply cleanly for some reason and now the
>search.pl script is broken (syntactically). You can call "perl -c
>search.pl" to see where the error is and fix it manually (actually the
>error yould also be in the other *.pl files). Or you could install v3.30
>from scratch and apply the patch again.
>
>Regards
>  Daniel
>
>--
>http://www.danielnaber.de
>_______________________________________________
>perlfect-search mailing list
>perlfect-search@perlfect.com
>To unsubscribe, set other personal options or view the list archives please 
>visit:
>
>




_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com