|
|
[Perlfect-search] joker search problem
Joan Foo perlfect-search@perlfect.com
Wed, 25 Sep 2002 15:34:33 +0300
Thanks a lot! It worked.
I am using perl 5.005_03.
Greetings, 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: 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
>perlfect-search@perlfect.com
>To unsubscribe, set other personal options or view the list archives please
>visit:
>
>
_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail.
http://www.hotmail.com
|
|