The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Archive::Tar::Builder - Stream tarball data to a file handle

DESCRIPTION

Archive::Tar::Builder is meant to quickly and easily generate tarball streams, and write them to a given file handle. Though its options are few, its flexible interface provides for a number of possible uses in many scenarios.

Archive::Tar::Builder supports path inclusions and exclusions, arbitrary file name length, and the ability to add items from the filesystem into the archive under an arbitrary name.

CONSTRUCTOR

FILE PATH MATCHING

File path matching facilities exist to control, based on filenames and patterns, which data should be included into and excluded from an archive made up of a broad selection of files.

Note that file pattern matching operations triggered by usage of inclusions and exclusions are performed against the names of the members of the archive as they are added to the archive, not as the names of the files as they live in the filesystem.

FILE PATH INCLUSIONS

File inclusions can be used to specify patterns which name members that should be included into an archive, to the exclusion of other members. File inclusions take lower precedence to exclusions.

FILE PATH EXCLUSIONS

TESTING EXCLUSIONS

WRITING ARCHIVE DATA

CLEANING UP

AUTHOR

Written by Xan Tronix xan@cpan.org

CONTRIBUTORS

COPYRIGHT

Copyright (c) 2014, cPanel, Inc. All rights reserved. http://cpanel.net/

This is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic for further details.