The write method writes the in-memory archive to disk. You haven't added the files to it yet, so it is writing an empty archive to disk. Reverse your last two steps.
In reply to Re: Issue with Archive::Tar
by GotToBTru
in thread Issue with Archive::Tar
by dracos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |