Help for this page

Select Code to Download


  1. or download this
    # find_hits $file_name, @keywords;
    #
    ...
    
        return @rv;
    }
    
  2. or download this
    # validate our keywords.
    unless ( defined $fields{keywords} &&
    ...
    # finally, do the now-obvious substitution:
    $template =~ s/%%normalresults%%/$normal_hits/;
    $template =~ s/%%premiumresults%%/$premium_hits/;