[htmltmpl] HTML::Template Question
Brought to you by:
samtregar
From: Bryce P. <bp...@he...> - 2004-03-22 22:25:41
|
Hello, I have a subroutine which I use generically to call a bunch of different templates, depending on which page was called in the query string. Now my question is, is there a way to test if a template variable exists? I tried doing something along the lines of: if ($template->param('FOO_BAR')) { ... } But that doesn't seem to work. It doesn't give any errors, but it does not match properly. I did not know if maybe the underscore had something to do with it or not. Any suggestions / comments would greatly be appreciated. Regards, =20 Bryce Porter Network Administrator Heart Technologies, Inc. Direct 309-634-2282 Fax 309-634-2382 =20 |