Shishir -- ...and then Shishir K. Singh said... % % I basically wanted to have the Compression utility independent of any platforms, so that I can do uncompress/Compress on tar /gz files on Windows and Zip files on Unix. Except the *.Z format, the others work fine, thanks to Archive::Zip and Archive::Tar. The compress::Zlib does not support *.Z . After having a look at the source code for gzip, which is in C, found that *.Z(compression) is not supported, although *.Z(uncompression) is supported. I have no clue how to improvise the code to work for the *.Z.
The .Z compress format is not only not as efficient as gzip but also, I believe, encumbered by patents. I don't think anyone is bothering with it any more. Is there a particular reason to not recompress your .Z files to smaller gzip-format files whenever you run across one? That way you could improve as you go, although that of course depends on the design requirements and limitations. % % Any gurus out there who can help ?? Good luck! % % Thanks % Shishir HTH & HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
msg25517/pgp00000.pgp
Description: PGP signature