At 1:53 PM on 17 Nov 2009, David McMath wrote: > Dear List, > > With Template Toolkit 2.22 and Apache::Template 2.00_01 (from > http://www.modperlcookbook.org/~geoff/modules/experimental/Apache-Template-2.00_01.tar.gz), > > I get a strange error message whenever I include "TT2Param" in my > configuration: > > [Tue Nov 17 12:13:06 2009] -e: Odd number of elements in anonymous > hash at > /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Template/Config.pm > line 227. > > I feel like I'm just missing some simple patch or something. I > dumbed down the configuration from my original lofty attempts just to > > PerlLoadModule Apache::Template > TT2Debug On > TT2Params env > <Location /*.tt2> > SetHandler perl-script > PerlHandler Apache::Template > </Location> > > Can anyone give me some advice?
Just guessing here, but you probably need to give key => value pairs to the TT2Params directive. So, you need a value for the 'env' param. -- C. Chad Wallace, B.Sc. The Lodging Company http://www.skihills.com/ OpenPGP Public Key ID: 0x262208A0
signature.asc
Description: PGP signature
_______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates
