I'd like to do this:

...
[% USE table(urls, cols=${recip_count}, pad=0) %]
...

recip_count being a variable I'm passing into the transform.  I know the
value is valid because I can do

...
[%- recip_count -%]
...

and I get the number.  Is this not valid?  Do I have to add something to the
TT2 object.  This is how I'm instantiating it

...
  my $tt2 = Template->new({
   INCLUDE_PATH => "$install_dir\/templates",
   OUTPUT_PATH  => $OUTPUT_PATH,
   OUTPUT       => "$template_name.html",
   EVAL_PERL    => 1,
   INTERPOLATE  => 1,
  }) || die "$Template::ERROR\n";
...

and it's a no-go.  Andy, Mark, Randy, anyone?

--

David B. Bitton
[EMAIL PROTECTED]
www.codenoevil.com

Code Made Fresh DailyT



Reply via email to