[Pdx-pm] hash of hashes in TT2
Thomas J Keller
kellert at ohsu.edu
Fri Jan 5 12:08:34 PST 2007
Dooooh! I knew that but got confused as to how to express it. I wrote
[% fees.dseq.[% key %].title %]
which choked.
Thanks!
Tom K
On Jan 5, 2007, at 11:55 AM, Randall Hansen wrote:
> On Jan 5, 2007, at 11:42 AM, Thomas J Keller wrote:
>
>> <li> [% key %] mode, [% fees.dseq.key.title %]: [%
>> fees.dseq.key.fee %] </li>
>
> TT is trying to evaluate "key" as a literal key name: $dseq->
> { key }. you want it to use the value of the variable "key," or
> $dseq->{ $key }:
>
> <li> [% key %] mode, [% fees.dseq.$key.title %]: [%
> fees.dseq.$key.fee %] </li>
>
> r
>
> _______________________________________________
> Pdx-pm-list mailing list
> Pdx-pm-list at pm.org
> http://mail.pm.org/mailman/listinfo/pdx-pm-list
>
More information about the Pdx-pm-list
mailing list