"be consistent" | |
PerlMonks |
How do I select an option according to a specified value in HTML::Template::Pro?by PerlOnTheWay (Monk) |
on Aug 11, 2011 at 04:43 UTC ( [id://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
|
|