Thomas, Mark - BLS CTR wrote:
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.
  
That doesnt really take into account setting formats and all tho does it?





begin:vcard
fn:Sean T. Allen
n:Allen;Sean T.
org:USA Herbals, LLC
email;internet:[EMAIL PROTECTED]
title:Tech Guru
tel;work:718-388-5424
x-mozilla-html:FALSE
version:2.1
end:vcard

Reply via email to