2014-01-31 Hugues <[email protected]>:
> resultC => $sth->fetchall_arrayref,
>
> ...
<td>[% loop.count %] - <a href="[% request.uri_base
> %]/detailClient/[% item.CodeClient %] "> [% item.CodeClient %]</a>
>
>
If you ask pure arrayref (fetchall_arrayref) you can't treat your data
being hashref. You have some options:
- call fetchall_hashref (but order will not remain same)
- call fetchall_arrayref({}) will give you every row as hashref (order
remains same too)
--
Wbr,
Kõike hääd,
Gunnar
_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users