Perlfect Solutions
 

[Perlfect-search] Re: backwards?

Daniel Naber daniel.naber@t-online.de
Fri, 15 Dec 2000 19:17:32 +0100
On 2000-12-15 18:53, you wrote:

>       # For "Match all words" just add a "+" to every term that has no
> operator:
>       if ( $query->param('mode') eq 'all' && $term !~ m/^(\+|\-)/) {

As you can see, this will only happen if $query->param('mode') equals 
'all'. So either add a hidden field mode="all" in your HTML or remove that 
part from the if().

Regards
 Daniel

-- 
Daniel Naber, Paul-Gerhardt-Str. 2, 33332 Guetersloh, Germany
Tel. 05241-59371, Mobil 0170-4819674