Hi Daniel,
is there a way to access the (modified) template variables from perl script
after calling process?
In short, no.
However, you can pass in a reference to a hash array that your templates
can modify. Your Perl code would look something like this:
my $exports = { };
$tt->process($file, { exports => $exports }) ...etc...
print $exports->{ filename };
And in the template:
[% exports.filename = "$somevar.$someextension" %]
Cheers
Andy
_______________________________________________
templates mailing list
templates@template-toolkit.org
http://mail.template-toolkit.org/mailman/listinfo/templates