Re: [htmltmpl] Static TMPL_INCLUDE not working

2004-11-22 Thread Keith Jackson
To get around that problem, we use a filter that translates virtual includes into tmpl_includes. This way the includes work with or without running them through a perl app. The filter is: sub filter { $text_ref = shift; ${$text_ref} =~ s///ig; } On Mon, 2004-11-22 at 15:45, Kas

Re: [htmltmpl] Static TMPL_INCLUDE not working

2004-11-22 Thread Kasturirangan Rangaswamy
Jason, Thanks a lot. Actually, I had tried that first (forgot to include in my post). Anyway, I think I have solved the problem. Being the novice that I am, I had forgotten that I need to access any .tmpl page through a .pl script to make use of any tags. I was trying to directly

Re: [htmltmpl] Static TMPL_INCLUDE not working

2004-11-22 Thread Jason Purdy
Kasturirangan Rangaswamy wrote: Index.tmpl --- I think the problem is this line ... try this instead: Cheers, Jason --- SF email is sponsored by - The IT Product Guide Read hone

[htmltmpl] Static TMPL_INCLUDE not working

2004-11-22 Thread Kasturirangan Rangaswamy
Hi, I am totally new to HTML::Template so kindly bear with me. I already tried seeking out an answer to this question but could not find one. This seems a trivial question but for a newbie like me, it might as well be the ultimate conundrum! I have 2 static HTML template files called top_sc

Re: [htmltmpl] Output error (I think a result of HTML::Template::JIT)

2004-11-22 Thread Sam Tregar
On Mon, 22 Nov 2004, Tim Howell wrote: > I've very recently begun using HTML::Template::JIT to eke some > additional speed out of several fairly complex applications I have. > This morning users of a couple of those applications received messages > like the following: > > Can't locate object meth

[htmltmpl] Output error (I think a result of HTML::Template::JIT)

2004-11-22 Thread Tim Howell
I've very recently begun using HTML::Template::JIT to eke some additional speed out of several fairly complex applications I have. This morning users of a couple of those applications received messages like the following: Can't locate object method "output" via package "tmpl_5508c265bab21c4e12849a