in reply to
Dancer2 - How to loop over a ref to a HoH
This is Template Toolkit 2 right? You cannot have dollar sign ($) in a variable name (like in partners.$partner.TPCOMPNAME), so you're referencing wrong item from the hash. See the docs.
My answer is wrong. See Re^2: Dancer2 - How to loop over a ref to a HoH from fishmonger.
Actually, according to the documentation, dollar signs are (or can be) used in var interpolation.
Could this solve your issue?
<% FOREACH partner IN partners.values %>
Partner: <% partner.TPCOMPNAME %> <% partner.TPTYPE %><br>
<% END %>
No, that didn't work under either of the template engines.
This is what works when using TT.
[% FOREACH partner IN partners.keys %]
Partner: [% partners.$partner.TPCOMPNAME %] [% partners.$partner.T
[% END %]
Non-existent; I don't have TV
Non-existent; my TV doesn't have/need a remote
Under my control; I watch alone
Under the control of whoever shouts loudest
Under the control of whoever gets it first
One of many, and the TV has a mind of its own
Results (467 votes),