![]() |
|
XP is just a number | |
PerlMonks |
Re: HTML::Template macrosby thraxil (Prior) |
on Dec 05, 2003 at 04:51 UTC ( #312427=note: print w/replies, xml ) | Need Help?? |
for populating <select>'s i use this sub:
you use it in a script like:
and a template file like:
i usually have the stuff inside the <tmpl_loop> factored out into its own file so i can just do a <tmpl_include> anytime i have a select list. ie, this is what i you actually see all through my templates:
update: fixed some unescaped entities.
In Section
Snippets Section
|
|