Spreadsheet::Template::Writer - role for classes which write spreadsheet files from a template
version 0.01
package MyWriter; use Moose; with 'Spreadsheet::Template::Writer'; sub write { # ... }
This role should be consumed by any class which will be used as the writer_class in a Spreadsheet::Template instance.
writer_class
This method is required to be implemented by any classes which consume this role. It should use the data in $data (in the format described in Spreadsheet::Template) to create a new spreadsheet file containing that data. It should return a string containing the binary contents of the spreadsheet file.
$data
Jesse Luehrs <doy@tozt.net>
This software is Copyright (c) 2013 by Jesse Luehrs.
This is free software, licensed under:
The MIT (X11) License
To install Spreadsheet::Template, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Spreadsheet::Template
CPAN shell
perl -MCPAN -e shell install Spreadsheet::Template
For more information on module installation, please visit the detailed CPAN module installation guide.