Hi all,
how to modify under script the %stopwords can be using Form Regex like ^[^><]{2,99}$
sub {
my $tags = shift;
my $query = $IN->param('query');
my %stopwords = map { $_ => 1 } qw/stop words here using space xx x/;
if (length $query < 3) {
return "QUERY TOO SHOTĄC";
}
if (exists $stopwords{$query}) {
return "NO MORE RECORDĄC";
} return $tags->{error};
# Display default error
}
Thank. ^^'
how to modify under script the %stopwords can be using Form Regex like ^[^><]{2,99}$
sub {
my $tags = shift;
my $query = $IN->param('query');
my %stopwords = map { $_ => 1 } qw/stop words here using space xx x/;
if (length $query < 3) {
return "QUERY TOO SHOTĄC";
}
if (exists $stopwords{$query}) {
return "NO MORE RECORDĄC";
} return $tags->{error};
# Display default error
}
Thank. ^^'