Re: joker search problem
Daniel Naber <[email protected]>
| Newsgroups | gmane.comp.web.perlfect-search |
|---|---|
| Message-ID | <[email protected]> |
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