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.
| [reply] |
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
| [reply] |
gunzip from UnXUtils happily handles .Z files. It's not a module, but it has a cli which makes it easier to use from within perl.
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
| [reply] |