And for a fun addition ... Why did I override load_tmpl?
- I use HTML::Template::Expr instead
- I split my templates into header, footer, and content, so I needed to use a filehandle
I then created a separate display() method that loads the template, makes sure that my session ID and a few other global variables are in it, and returns the output of the template. So when I have a runmode that ends by showing a page using the content template 'options.tmpl', I just return $self->display('options').
Jaclyn
--------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[EMAIL PROTECTED]/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
