Is it possible for a template to pass back data to the perl code which
invoked it?
When using a simple hash for the template variables object, it doesn't
seem that a template can modify it, e.g.
$vars = { foo => 1 };
$template->process("something.tt", $vars);
print $vars->{foo}, "\n";
and then something.tt has: [% foo = 2 %]
the assignment within the template doesn't change $vars->{foo}.
_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates