Arch::Tarball(3pm) | User Contributed Perl Documentation | Arch::Tarball(3pm) |
Arch::Tarball - an interface to create and work with tarballs
use Arch::Tarball my $tarball = Arch::Tarball->new; my $pipe = $tarball->create( dir => '/path/to/subdir-to-pack', base_name => 'new-subdir-to-pack', pipe => 1, );
Arch::Tarball provides an object oriented interface to work with (create, examine or extract) standard gzipped tarballs.
Note: As functionality is added only when needed, a lot of features are currently not implemented.
The following functions are available:
new, create, extract, list.
The following parameters can be set via %opts:
create understands the following options:
Note: Currently the pipe option is mandatory.
The file option specifies the tarball file name. It may be given in the constructor instead.
Most functionality is currently not implemented. If you need part of the missing functionality, please contact the authors.
Patches are greatly appreciated.
Mikhael Goikhman (migo@homemail.com--Perl-GPL/arch-perl--devel).
Enno Cramer (uebergeek@web.de--2003/arch-perl--devel).
2005-04-22 | perl v5.20.2 |