Help for this page

Select Code to Download


  1. or download this
        # Load the keywords used
        my ($terms, @terms);
        if ($s->{terms}) {
    ...
            for (@terms) { $terms .= "$_ " }
            chomp($terms); # for some reason chomp wasn't working here
        }
    
  2. or download this
        # Load the keywords used
        my $terms;
        if ($s->{terms}) {
            $terms = join ' ', @{$s->{terms}};
        }