in reply to Re: Portable in-memory files
in thread Portable in-memory files

Archive::Tar has built-in support to gzip its output files for you. Just specify that compression is true. See the description for the methods "new", "read", and "write": the second argument must be true.

Replies are listed 'Best First'.
Re: Portable in-memory files
by crenz (Priest) on Apr 07, 2003 at 10:19 UTC

    Unfortunately, when looking at the source, I found out that the output is only compressed when going to a file. So that's not helpful for me.

      Wouldn't it be easiest to just patch Archive::Tar and be done with it, rather than going through such horrible contortions?

      Makeshifts last the longest.