Re: joker search problem

"Joan Foo" <[email protected]>
Newsgroups gmane.comp.web.perlfect-search
Message-ID <[email protected]>
Thanks a lot! It worked.
I am using perl 5.005_03.

Greetings, Joan

>From: Daniel Naber <[email protected]>
>Reply-To: [email protected]
>To: [email protected]
>CC: "Joan Foo" <[email protected]>
>Subject: Re: [Perlfect-search] joker search problem
>Date: Tue, 24 Sep 2002 16:58:27 +0200
>
>On Tuesday 24 September 2002 12:33, Joan Foo wrote:
>
> > 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.")
>
>You can add this code above that line and in that line (251) replace $term
>with $tmp_term:
>
>        my $tmp_term;
>        if( $term =~ /^\+/ ) {
>	   	 ($tmp_term) = ($term =~ m/^\+?(.*)$/);
>        }
>
>That should help. I guess you are using Perl 5.6.1 or 5.8?
>
>Regards
>  Daniel
>
>--
>http://www.danielnaber.de
>_______________________________________________
>perlfect-search mailing list
>[email protected]
>To unsubscribe, set other personal options or view the list archives please 
>visit:
>http://perlfect.com/mailman/listinfo/perlfect-search
>


_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com

_______________________________________________
perlfect-search mailing list
[email protected]
To unsubscribe, set other personal options or view the list archives please visit:
http://perlfect.com/mailman/listinfo/perlfect-search

lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.