NAME

Archive::Any::Create - 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');

DESCRIPTION

Archive::Any::Create is

AUTHOR

Tatsuhiko Miyagawa <miyagawa@bulknews.net>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Archive::Any, Archive::Tar, Archive::Zip