RE: [Templates] tt and SpreadSheet::WriteExcel

[prev] [thread] [next] [Date index for 2005/01/06]

From: Thomas, Mark - BLS CTR
Subject: RE: [Templates] tt and SpreadSheet::WriteExcel
Date: 17:18 on 06 Jan 2005
> 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
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

[Templates] tt and SpreadSheet::WriteExcel
Sean T Allen 14:41 on 06 Jan 2005

Re: [Templates] tt and SpreadSheet::WriteExcel
Simon Wilcox 16:22 on 06 Jan 2005

Re: [Templates] tt and SpreadSheet::WriteExcel
Mike Whitaker 16:28 on 06 Jan 2005

Re: [Templates] tt and SpreadSheet::WriteExcel
Sean T Allen 16:41 on 06 Jan 2005

Re: [Templates] tt and SpreadSheet::WriteExcel
Sean T Allen 16:37 on 06 Jan 2005

RE: [Templates] tt and SpreadSheet::WriteExcel
Thomas, Mark - BLS CTR 16:41 on 06 Jan 2005

Re: [Templates] tt and SpreadSheet::WriteExcel
Todd Freeman 16:51 on 06 Jan 2005

Re: [Templates] tt and SpreadSheet::WriteExcel
Sean T Allen 15:45 on 07 Jan 2005

Re: [Templates] tt and SpreadSheet::WriteExcel
Todd Freeman 00:14 on 08 Jan 2005

Re: [Templates] tt and SpreadSheet::WriteExcel
Sean T Allen 06:45 on 08 Jan 2005

Re: [Templates] tt and SpreadSheet::WriteExcel
Sean T Allen 16:57 on 06 Jan 2005

RE: [Templates] tt and SpreadSheet::WriteExcel
Thomas, Mark - BLS CTR 17:18 on 06 Jan 2005

Re: [Templates] tt and SpreadSheet::WriteExcel
Sean T Allen 17:27 on 06 Jan 2005

RE: [Templates] tt and SpreadSheet::WriteExcel
Thomas, Mark - BLS CTR 17:28 on 06 Jan 2005

Re: [Templates] tt and SpreadSheet::WriteExcel
Sean T Allen 18:27 on 06 Jan 2005

RE: [Templates] tt and SpreadSheet::WriteExcel
Thomas, Mark - BLS CTR 19:02 on 06 Jan 2005

Re: [Templates] tt and SpreadSheet::WriteExcel
Sean T Allen 19:45 on 06 Jan 2005

Re: [Templates] tt and SpreadSheet::WriteExcel
Sean T Allen 20:22 on 06 Jan 2005

RE: [Templates] tt and SpreadSheet::WriteExcel
Thomas, Mark - BLS CTR 20:19 on 06 Jan 2005

Re: [Templates] tt and SpreadSheet::WriteExcel
Sean T Allen 22:40 on 06 Jan 2005

Generated at 08:55 on 15 Mar 2005 by mariachi v0.52