Mark, many thanks. Wow!
I've gone over this several times. Learned a number of things in the
process.
Again, thanks. Eric.
> If you want to do is to have the same global configuration variables
> available in all your
> templates you use with CGI::Application, you might want to override t
Eric Moore wrote:
>
> In the past, I have done what Cory outlines
>
> > From: "Cory Trese" <[EMAIL PROTECTED]>
> >>> SNIP >>
> >
> > # install global variable values from config file
> > $service_name = %conf->{'service_name'};
> > $service_url = %conf->{'service_url'};
> > $session_life = %conf
On Thu, 21 Mar 2002, Eric Moore wrote:
> in HTML::Template by doing
>
> while( ( $key, $value ) = each( %$conf ) ){
> $template->param( $key => $value );
> }
Psst - you can do that much easier with:
$template->param($conf);
Since param() can take a hash-ref of parameter se
In the past, I have done what Cory outlines
> From: "Cory Trese" <[EMAIL PROTECTED]>
>>> SNIP >>
>
> # install global variable values from config file
> $service_name = %conf->{'service_name'};
> $service_url = %conf->{'service_url'};
> $session_life = %conf->{'session_life'};
> $session_context