my $tt3 = Template3->new( template_path => '/path/to/templates', );
- No more SHOUTING!
- No more
Thus Spake Andy:
Options are now in lower case (reminisce about how TT is so old that it
comes from a time when Perl would only auto-quote barewords on the left of
=> fat comma if they were in UPPER_CASE). What was
RELATIVE options are deprecated
as TT3 just Does The Right Thing™ with file handling - if you don't
template_path then it assumes you know what you're doing (i.e.
you're a programmer) and gives you access to the entire filesystem. Files
specified with relative filenames are relative to the current working
'/full/path/to/foo.tt3' both work correctly).