in reply to Issue with Archive::Tar
It rather looks to me as tho' you're writing before there's anything there i.e.
should be$tar->write('Test2.tbz', COMPRESS_BZIP); $tar->add_files(@files);
Referring to Archive::Tar, we see that add_files() only adds files to the in-memory object i.e. not to any file that may have been written using write() ... unless, of course, it's nealry beer o'clock on Friday afternoon and I've missed something even more elementary :-)$tar->add_files(@files); $tar->write('Test2.tbz', COMPRESS_BZIP);
A user level that continues to overstate my experience :-))
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Issue with Archive::Tar
by dracos (Sexton) on Mar 21, 2014 at 15:40 UTC | |
by Bloodnok (Vicar) on Mar 21, 2014 at 17:42 UTC |
In Section
Seekers of Perl Wisdom