OpenDocument::Template::Util - utility function for OpenDocument::Template
version 0.002
update template.
OpenDocument::Template object
match rule to convert for Template Toolkit variable
directory for generated(updated) file
force overwrite if file is already existed
Example:
my $ot = OpenDocument::Template->new( config => 'addressbook.yml', template_dir => 'template', src => 'addressbook.odt', dest => 'addressbook-template.odt', ); OpenDocument::Template::Util->update_template( $ot, prefix => qr/(meta|person)\./, ) or "failed to update template\n";
Keedi Kim - 김도형 <keedi@cpan.org>
This software is copyright (c) 2011 by Keedi Kim.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install OpenDocument::Template, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OpenDocument::Template
CPAN shell
perl -MCPAN -e shell install OpenDocument::Template
For more information on module installation, please visit the detailed CPAN module installation guide.