Gossamer Forum
Quote Reply
HASH ?
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
Subject Author Views Date
Thread HASH ? BLOOD 1897 Sep 28, 2003, 12:10 PM
Post Re: [BLOOD] HASH ?
BLOOD 1854 Sep 28, 2003, 2:17 PM
Thread Re: [BLOOD] HASH ?
afinlr 1846 Sep 28, 2003, 3:29 PM
Post Re: [afinlr] HASH ?
BLOOD 1827 Sep 29, 2003, 1:52 AM