[htmltmpl] "dump"-ing a loop
Brought to you by:
samtregar
From: Puneet K. <pk...@ei...> - 2003-08-12 04:16:05
|
did a few "feeble" searches in the archive, but I really don't know how to word this exactly... I want to query a database table, and then print the results. The problem is, I don't know what the names of the fields are... so, while I can build an array of hash refs from the returned results, and assign them to a tmpl_loop, I don't know the names of the tmpl_vars... so in my template, I don't really know what to print out. Am I missing something obvious in the docs? Is there a way to simply dump out the results of a tmpl_loop a la Data::Dumper? many tia, Puneet. |