loop through a hash structure without knowing the hash keys?
Boon Chew <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.html-template |
|---|---|
| Message-ID | <[email protected]> |
I can't find a way in the doc to loop through hash without knowing the keys in the hash. If this feature is not available, I think the fact that the template has to always such intimiate knowledge of what's being passed to it is not always a good thing, it also makes it impossible to just dump out all the data on the HTML end with a simple statement. e.g. <tmpl_loop students> <tmpl_var name> </tmpl_loop> --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free.