I see. In this case, I will elaborate.
I am using CGI::Application and I am loading the template by the
$self->load_tmpl('myfile.tmpl) command.
Can I set the loop_context_vars parameters using the load_tmpl subroutine?
Thanks for the help.
Roy
> -----Original Message-----
> From: Sam Tregar [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 01, 2002 10:42 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: [htmltmpl] loop_context_vars
>
>
> On Fri, 1 Feb 2002, Roy Rubin wrote:
>
> > How can I set the loop_context_vars variable to true after I
> have already
> > created a template object?
>
> You can't. loop_context_vars is an option to new() and is used by new()
> when it parses the template. By the time new() returns it's too late to
> tell HTML::Template you wanted loop_context_vars on.
>
> -sam
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]