|more useful options|
HTML::Template and hashes of hashesby jdtoronto (Prior)
|on Mar 15, 2004 at 22:08 UTC||Need Help??|
jdtoronto has asked for the wisdom of the Perl Monks concerning the following question:
I am using HTML::Template in an application where I would like pass it a hash of hashes. Sadly, it doesnt support this type of structure.
Has anyone out there a module, or even a subroutine, that will parse a hash of hashes into a set of heirarchical template variables?
The alternative is to write something that "flattens" out the data, but this would be rather "not general purpose" which is what I would prefer.
My structure looks like this (it is only a part of a much larger structure):