Help language development. Donate to The Perl Foundation

Archive::Tar::PP zef:tony-o last updated on 2021-05-19

e89f5b41639825cb52b10d4a2cc31ec1dd4fe160/

usage

since i know this is all you care about

new tar

use Archive::Tar::PP;

my $new-archive = new-tar('x.tar');

$new-archive.push('some file'); #adds file data to buffer;

$new-archive.write; #now you have some tarball

crusty tar

use Archive::Tar::PP;

my $crusty = read-tar('x.tar');

$crusty.ls; #returns files
$crusty.peek('file-name to get contents of');
#  returns Nil for dir, empty Buf for an empty file, and a Buf with the contents otherwise

limitations