in reply to How to Set the 'tmpl_var' value in HTML::Template
I guess the problem with the special characters in the "tmpl_var".The "special characters"
<TMPL_VAR NAME=NEW_A/B/C> ^^^^^
When I changed the template as indicated above, it worked fine for me.
On an unrelated note, I would avoid assigning to %hash and simply do $template->param( 'NEW_A/B/C' => 3 );.
HTH
*Update: Softened wording based on esper's comment (thanks for mentioning it).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to Set the 'tmpl_var' value in HTML::Template
by dsheroh (Monsignor) on Dec 29, 2007 at 08:35 UTC | |
by bradcathey (Prior) on Dec 29, 2007 at 14:06 UTC | |
by kulls (Hermit) on Dec 29, 2007 at 15:59 UTC |