[Templates] Newbie question: use perl module within template - how?

Tom Allison tallison@tacocat.net
Sun, 09 Jul 2006 19:43:17 -0400


Evan Kaufman wrote:
> load_perl, like other TT2 parameters, must be set from the calling
> program (passed in as a hashref):
> 
> $template_config{'load_perl'} = 1;
> $template = Template->new( \%template_config );
> 
> or, if you're using mod_perl and Apache::Template, it would be set in
> the apache config:
> 
> TT2LoadPerl  On

Is there an Apache2 compatibility issue?
My debian packages claim that Apache::Template is good for Apache but 
not necessarily Apache2/mod_perl2

True/False/Options?