On Mon, 15 Sep 2003, Thomas Charron wrote:
> Here is whats happening. It seems WHENEVER I pass loop_context_vars =>
> 1 in the new, I get this:
>
> [Mon Sep 15 17:38:18 2003] [error] [client 192.168.0.204] [Mon Sep 15
> 17:38:18 2003] WebApp.pl: Error executing run mode 'usermainpage':
> HTML:
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'
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
Ok, I've now pulled my hair out..
I'm using HTML::Template for the first time, I've always done it using
my own custom rolled template system from way back.
Here is whats happening. It seems WHENEVER I pass loop_context_vars =>
1 in the new, I get this:
[Mon Sep 15 17:38:18 2003] [error]
>
> 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
---