> I have a file defined that comes from a template.
> I would like to keep said file... still use tt
> but spit out excel from it using Spreadsheet::WriteExcel.

Couldn't you just do something like this?

  $tt->process($template, $vars, \&create_excel);

  sub create_excel {
    my $templated_input = shift;
    my $excel_file = build_excel(); #use SS::WE
    print $excel_file;
  }
  
- Mark.


_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to