Re: [htmltmpl] Nested loops and __first__

2003-09-15 Thread Karen J. Cravens
On Mon, 15 Sep 2003, Karen J. Cravens wrote: KJC>As is usual, I discovered this only *after* posting the question to the KJC>list... And after that, I realized things still aren't working quite right. It's not the loop variables, though. It's the nested loop. I've got globals turned on. If I'

Re: [htmltmpl] Nested loops and __first__

2003-09-15 Thread Karen J. Cravens
On Sun, 14 Sep 2003, Sam Tregar wrote: ST>Have you tried turning off global_vars? Does that solve the problem ST>with __first__? What version of HTML::Template are you using? Turned out it wasn't the version of HTML::Template, exactly, but the version of Perl. I hadn't tried turning off global

RE: [htmltmpl] Nested loops and __first__

2003-09-15 Thread Ben Ausden
> > I've got a __first__ that isn't acting the way I expect it... > it's always false. I'm wondering if that's happening because > I've got global_vars on and it's the inner loop of a two-loop nest. You are setting loop_context_vars, aren't you? Ben ---

Re: [htmltmpl] Nested loops and __first__

2003-09-14 Thread Sam Tregar
On Sat, 13 Sep 2003, Karen J. Cravens wrote: > I've got a __first__ that isn't acting the way I expect it... it's always > false. I'm wondering if that's happening because I've got global_vars on > and it's the inner loop of a two-loop nest. > > I'm betting it is, but I'm hoping someone will tel

[htmltmpl] Nested loops and __first__

2003-09-13 Thread Karen J. Cravens
I've got a __first__ that isn't acting the way I expect it... it's always false. I'm wondering if that's happening because I've got global_vars on and it's the inner loop of a two-loop nest. I'm betting it is, but I'm hoping someone will tell me I'm wrong, because I'd really like to leave global_