Re: [htmltmpl] Bug in param() when odd reference passed in?

2007-07-09 Thread Mathew Robertson
Hi Brad, > I think I've found a small bug in param(). It's not a killer for me, but > I thought I'd mention it. Here's an example that triggers the behavior > I'm seeing (I'm using HTML::Template version 2.8, but I think 2.9 would > behave this way, too): > > perl -MHTML::Template -wle'$o=" x>";$

Re: [htmltmpl] Odd slowdown in HTML::Template with INCL and LOOP

2007-07-09 Thread Mathew Robertson
>> When a TMPL_LOOP is encountered, H::T needs to create (for want of a >> better description) a child context, that contains only the template >> variables for the child. Each child context is effectively a new >> H::T object, so that the very top H::T object accumulates the output >> from each

[htmltmpl] Bug in param() when odd reference passed in?

2007-07-09 Thread Brad Baxter
Hello all, I think I've found a small bug in param(). It's not a killer for me, but I thought I'd mention it. Here's an example that triggers the behavior I'm seeing (I'm using HTML::Template version 2.8, but I think 2.9 would behave this way, too): perl -MHTML::Template -wle'$o="";$t=HTML::Te

Re: [htmltmpl] Odd slowdown in HTML::Template with INCL and LOOP

2007-07-09 Thread Hakim Cassimally
Mathew Robertson ha scritto: > Hi Hakim, > > I think you might be over analysing the problem. :-) Heh, that is possible :-) > > When a TMPL_LOOP is encountered, H::T needs to create (for want of a > better description) a child context, that contains only the template > variables for the child