Taro Funaki > Excel-Template-TT > Excel::Template::TT

Download:
Excel-Template-TT-0.0.1.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.0.1   Source  

NAME ^

Excel::Template::TT - wrapper class for Excel::Template to using TT

SYNOPSIS ^

  use Excel::Template::TT;
  
  # some TT options
  my $config = {
      INTERPOLATE => 1,
      EVAL_PERL   => 1,
  }
  
  # set variables for replacement
  my $vars = {
      worksheet => [
          { name => $value1 },
          { name => $value2 },
          { name => $value3 },
      ],
  };
  
  # create object
  my $template = Excel::Template::TT->new(
      filename => 'sample.xml',
      config   => $config,
      vars     => $vars,
  );
  
  $template->write_file('sample.xls');

DESCRIPTION ^

This module is wrapper class for Excel::Template to using Template Toolkit.

AUTHOR ^

Taro Funaki <t@33rpm.jp>

LICENSE ^

This library is free software; you can redistribute it and/or modify it under the same terms as perl itself.

SEE ALSO ^

Excel::Template::TT, Template

syntax highlighting: