On 23/07/2010 00:09, Benjamin Hitz wrote:
> I set the following:
> my $tt = Template->new(
> {
> INCLUDE_PATH =>
> Config::File->new()->www_stem.'templates/Reports/LocusReport/InteractionServer',
> TEMPLATE_OPTIONS => {
> PRE_CHOMP => 1,
> POST_CHOMP => 1,
> INTERPOLATE => 1,
> TRIM => 1,
> }
> }
You've got an extra TEMPLATE_OPTIONS in there that you don't need.
It should be more like this:
my $tt = Template->new({
INCLUDE_PATH => ...,
POST_CHOMP => 1,
...etc...
})
HTH
A
_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates