Spreadsheet::Template::Processor - role for classes which preprocess a template file before rendering
version 0.01
package MyProcessor; use Moose; with 'Spreadsheet::Template::Processor'; sub process { # ... }
This role should be consumed by any class which will be used as the processor_class in a Spreadsheet::Template instance.
processor_class
This method is required to be implemented by any classes which consume this role. It should take the contents of the template and return a JSON file as described in Spreadsheet::Template. This typically just means running it through a template engine of some kind.
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.