[dancer-users] Iteration of hash in template.

Richard Reina gatorreina at gmail.com
Wed Sep 30 20:20:33 BST 2015

Hello All,

I ussually iterate a hash that is the result of $rows_ref =
$sth->fetchall_hashref('ID'); in my template with  <% FOREACH ID
Matched_pats.keys.sort %>. However, In this case though the template only
displays one row because each resulting row in the SQL query all have the
same ID number. Is there any simple change I can make to get the results to
fully iterate?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20150930/d6bd7961/attachment.html>

More information about the dancer-users mailing list