Actually I've meant to creatively borrow from that before... yep I'll do that.

Dave's suggestion will work for dealing with either IxHashes or plain hashes too. Thanks both...

jamie

Thomas, Mark - BLS CTR wrote:

Well, that's just what my API returns, a hash ref with that sort of structure. I will probably write something that recurses through the hash and creates multiple levels of table headers but I was just going for something super quick and dirty.


Feel free to swipe code from my template (or the whole thing), which does
just that, except it handles arrays and hashes in any combination. Example
at http://www.markthomas.org/perl/test.pl, followed by Data::Dumper output
so you can compare.

- Mark.




_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to