I'm having trouble accessing the hash value when I'm combining items to create the hash key. I'm hoping there's a better way to do this.

[% FOREACH num IN [ 1, 2, 3, 4, 5 ] %]
   [% box_key = ( 'box_' _ num ) %]
   [% name  = hash.$box_key.name %]
   [% phone = hash.$box_key.phone %]
[% END %]

Reply via email to