I think that the doc is actually telling me that tar->cwd is relevant only for extraction, not for creation.chdir($vsvroot); foreach my $vsvxdb (<cntl/*>) { $tar->add_files($vsvxdb); } $tar->write("$vsvroot/tmp/cntlbkup.tar");
In reply to Re^4: Archive::Tar from somewhere outside my runtime directory
by murrayn
in thread Archive::Tar from somewhere outside my runtime directory
by murrayn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |