David --- Could have done that.....Only problem with that is
a) How do I uncompress the *.Z on non Unix(windows) without using gzip exe (don't want to do that) b) The files are not to be tampered with as the requirements call for them to be registered in a database for reference purpose. -----Original Message----- From: David T-G [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 4:31 PM To: perl beginners Cc: Shishir K. Singh Subject: Re: Question- Archive::zip/tar 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! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]