There's more than one way to do things | |
PerlMonks |
Re: More with HTML:Templateby mce (Curate) |
on Nov 23, 2001 at 14:12 UTC ( [id://127077]=note: print w/replies, xml ) | Need Help?? |
Hi there, Why do you declare the Template object twice with new? I stripped down your code to give you an example: This code works fine for me when I make my template like And, as is correctly stated before, please open the file like: I hope this will send you in the correct direction. --------------------------- Dr. Mark Ceulemans Senior Consultant IT Masters, Belgium update by mce: I see also that you give an array as a param, this can only be used in TMPL_LOOP situations when the array holds references to a hash
In Section
Seekers of Perl Wisdom
|
|