Re: [htmltmpl] HTML::Template::output() : Unknown item in parse_stack : HASH at /usr/local/share/perl/5.8.8/HTML/Template.pm line 2781

2006-06-27 Thread Alexey Melezhik
Thanx! We have just updated to 2.8 VERSION, hopefully it works out unknown item in parsed stack error. I'll let you know if we still have problems with this. 2006/6/9, Sam Tregar [EMAIL PROTECTED]: On Fri, 9 Jun 2006, Alexey Melezhik wrote: HTML::Template INST_VERSION 2.6 Please upgrade to

Re: [htmltmpl] Speeding up H::T

2006-06-27 Thread Sam Tregar
On Mon, 26 Jun 2006, Matthew wrote: I've already got use HTML::Template in my startup.pl so theoretically its being compiled at server start (anyway to verify this?). But its the instantiation in my handler() routine that's using the CPU time. How I can I get H:T to preform better? Are

Re: [htmltmpl] Speeding up H::T

2006-06-27 Thread Matthew
Sam, Are you pre-caching your templates in startup.pl? There's a recipe Nope. I found the recipe and will try to incorporate that later this week. Also, are you loading many templates and doing includes manually? Switching to tmpl_include (which is processed at compile time) can be

Re: [htmltmpl] Speeding up H::T

2006-06-27 Thread Sam Tregar
On Tue, 27 Jun 2006, Matthew wrote: Also, are you loading many templates and doing includes manually? Switching to tmpl_include (which is processed at compile time) can be Not sure what you mean. Some people do stuff like: my $header = HTML::Template-new(...); my $body =

Re: [htmltmpl] Speeding up H::T

2006-06-27 Thread Jim Spath
Lastly, if you absolutely gotta have more speed, you could try HTML::Template::JIT. It's got some drawbacks - not all of HTML::Template's syntax is supported and compilation times are long - but it is reliably 4 to 8 times faster. You also might look into HTML::Template::Pro. Its latest