NAME

Spreadsheet::Template::Writer - role for classes which write spreadsheet files from a template

VERSION

version 0.01

SYNOPSIS

package MyWriter;
use Moose;

with 'Spreadsheet::Template::Writer';

sub write {
    # ...
}

DESCRIPTION

This role should be consumed by any class which will be used as the writer_class in a Spreadsheet::Template instance.

METHODS

write($data)

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.

AUTHOR

Jesse Luehrs <doy@tozt.net>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2013 by Jesse Luehrs.

This is free software, licensed under:

The MIT (X11) License