Something not quite right here...
sub {
# Displays all links.
my $tags = shift;
my $table = $DB->table('Links');
$table->select_options ('ORDER BY Add_Date DESC');
my $sth = $table->select({ isValidated => 'Yes' });
my @output;
while (my $link = $sth->fetchrow_hashref) {
push (@output, $link);
}
return { test_loop => \@output };
}
Then...
<%loop test_loop%>
<a href="<%detailed_url%>"><%Title%></a>
<%endloop%>
But the output to the detailed page is:
http://www.mysite.com/Detailed/HASH(0x9182ca4).html
HASH ??
--------------------------------
Privacy Software
sub {
# Displays all links.
my $tags = shift;
my $table = $DB->table('Links');
$table->select_options ('ORDER BY Add_Date DESC');
my $sth = $table->select({ isValidated => 'Yes' });
my @output;
while (my $link = $sth->fetchrow_hashref) {
push (@output, $link);
}
return { test_loop => \@output };
}
Then...
<%loop test_loop%>
<a href="<%detailed_url%>"><%Title%></a>
<%endloop%>
But the output to the detailed page is:
http://www.mysite.com/Detailed/HASH(0x9182ca4).html
HASH ??
--------------------------------
Privacy Software