Template::Provider::ArchiveTar - fetch templates from an archive
my $t = $info->{template} || Template->new({ POST_CHOMP => 1, DEBUG => 1, LOAD_TEMPLATES => [ Template::Provider::ArchiveTar->new({ archive => Archive::Tar->new('theme.tar'), }), ], });
Using this module you can provide templates through a Tar archive or any object compatible with the API of Archive::Tar. Interesting examples are Archive::Dir, Archive::Merged and Archive::SevenZip.
Template::Provider
Template::Provider::DBI
The public repository of this module is http://github.com/Corion/template-provider-archivetar.
The public support forum of this module is https://perlmonks.org/.
Please report bugs in this module via the RT CPAN bug queue at https://rt.cpan.org/Public/Dist/Display.html?Name=Template-Provider-ArchiveTar or via mail to Template-Provider-ArchiveTar-Bugs@rt.cpan.org.
Max Maischein corion@cpan.org
corion@cpan.org
Copyright 2014-2016 by Max Maischein corion@cpan.org.
This module is released under the same terms as Perl itself.
To install Template::Provider::ArchiveTar, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Template::Provider::ArchiveTar
CPAN shell
perl -MCPAN -e shell install Template::Provider::ArchiveTar
For more information on module installation, please visit the detailed CPAN module installation guide.