Archive::Any::Create 0.02 review
Download
|
|
Archive::Any::Create is an abstract API to create archives (tar.gz and zip).
SYNOPSIS
use Archive::Any::Create;
my $archive = Archive::Any::Create->new;
$archive->container('foo'); # top-level directory
$archive->add_file('bar.txt', $data); # foo/bar.txt
$archive->add_file('bar/baz.txt', $data); # foo/bar/baz.txt
$archive->write_file('foo.tar.gz');
$archive->write_file('foo.zip');
$archive->write_filehandle(*STDOUT, 'tar.gz');
Archive::Any::Create is a wrapper module to create tar/tar.gz/zip files with a single easy-to-use API.
Requirements:
Perl
Archive::Any::Create 0.02 search tags