|
|
| Just another Perl shrine | |
| PerlMonks |
How do I select an option according to a specified value in HTML::Template::Pro?by PerlOnTheWay (Scribe) |
| on Aug 11, 2011 at 04:43 UTC ( #919793=perlquestion: print w/ replies, xml ) | Need Help?? |
PerlOnTheWay has asked for the
wisdom of the Perl Monks concerning the following question:
The above is my code to show a select element populated with various option. But how do I add selected=true to those options when <TMPL_VAR NAME="id"> eq <TMPL_VAR NAME="current_key">?
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||