2014-01-31 Hugues <hugues@max4mail.com>:
 
                                  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