in reply to Uncompressing a .Z AIX-UNIX file on Windows using perl

Nope:
Please note: the two functions defined above [compress and uncompress] are not compatible with the Unix commands of the same name.
.Z files are created with the old Unix utility "compress". While the gzip utility can uncompress .Z files, it doesn't look like the Zlib-based stuff can, though I could be wrong about that.

Archive::Tar recommends you get an external utility (uncompress or gzip) to handle .Z files.

Compress::LZW expects to handle the files in a future release, but not yet.


Caution: Contents may have been coded under pressure.
  • Comment on Re: Uncompressing a .Z AIX-UNIX file on Windows using perl

Replies are listed 'Best First'.
Re^2: Uncompressing a .Z AIX-UNIX file on Windows using perl
by curciod (Novice) on Nov 30, 2005 at 19:50 UTC
    Roy, Thanks. This will save me from wasting more time trying to do this. All of my uncompress statments were failing with Zlib and I was getting EOCD signature errors with Archive::Zip COMPRESSION_DEFLATED constructor. -dan