> Instead of the value of acmemail.T.To, the actual string "acmemail.T.To" > is being printed out.
Outside [% %] these will interpolate to strings. Did you put them
inside [% %]? Here's an example:
#!/bin/perl
use Template;
$tt = Template->new;
$tt->process(\*DATA, { acmemail => { T => { TO => 123}}})
|| die $tt->error();
__DATA__
Example 1: [% ${"acmemail.T.TO"} %]
Example 2: [% to = "acmemail.T.TO"; $to; %]
produces:
Example 1: 123
Example 2: 123
Craig
