WE_Frontend::Publish::Tgz - publish files to a tar.gz archive file
use WE_Frontend::Main2; use WEsiteinfo qw($c); $c->staging->transport("tgz"); $main->publish;
The staging object of WEsiteinfo.pm should be set as follows:
WEsiteinfo.pm
$staging->transport("tgz"); $staging->archivefile('/tmp/archive-@DATE@.tar.gz'); # @DATE@ is filled with a iso 8601 date/time
Slaven Rezic - slaven@rezic.de
tar(1), gzip(1).
To install WE::DB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WE::DB
CPAN shell
perl -MCPAN -e shell install WE::DB
For more information on module installation, please visit the detailed CPAN module installation guide.