I have tried using the premium results global with no success. I used the following global
sub {my $tags = shift;my $query = $tags->{query};my $sth = $DB->table('Links')->select ( { KeyWords => $query } );my $output;while (my $link = $sth->fetchrow_hashref) {$output .= Links::SiteHTML::display('link', $link);}return $output; }
named premium_results. A dump shows premium_results has a value of $VAR = 'CODE(0x85674f4)'; .
A tag of <%premium_results%> includes nothing when a search is done on a known keyword and links containing it are returned. Any suggestions ??
sub {my $tags = shift;my $query = $tags->{query};my $sth = $DB->table('Links')->select ( { KeyWords => $query } );my $output;while (my $link = $sth->fetchrow_hashref) {$output .= Links::SiteHTML::display('link', $link);}return $output; }
named premium_results. A dump shows premium_results has a value of $VAR = 'CODE(0x85674f4)'; .
A tag of <%premium_results%> includes nothing when a search is done on a known keyword and links containing it are returned. Any suggestions ??