Hi,
You miss a bracket after while(){}.
sub {
# Displays all links.
my ($output,$sth,$link);
my $search_db = $DB->table('Links');
$sth = $search_db->select ( { isValidated => 'Yes' });
while ($link = $sth->fetchrow_hashref) {
$output .= Links::SiteHTML::display ('link', $link);
}
return $output;
}
You miss a bracket after while(){}.
sub {
# Displays all links.
my ($output,$sth,$link);
my $search_db = $DB->table('Links');
$sth = $search_db->select ( { isValidated => 'Yes' });
while ($link = $sth->fetchrow_hashref) {
$output .= Links::SiteHTML::display ('link', $link);
}
return $output;
}