Thanks Beau....I have been scratching head since morning to see if there is a way out, but to no effect!!
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. Any gurus out there who can help ?? Thanks Shishir -----Original Message----- From: Beau E. Cox [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 2:16 PM To: Shishir K. Singh; BeginnersPerl (E-mail) Subject: RE: Question- Archive::zip/tar Shishir - I'm using Win32 also (I have Linux on one machine but haven't done much with it yet.) I think that the unix 'tar' utility gives you a .tar file (uncompressed) and then that file is passed thru a compression utility: zip => .tar.z, gzip => .tar.gz, or something like bzip => .tar.bz. Of course, the modern 'tar' program will invoke a compression utility for you via command line switches. Most of the unix tarballs I have seen are in the .tar.gz format. I know this is like the blind leading the blind, but I hope it helps anyway. Aloha => Beau. -----Original Message----- From: Shishir K. Singh [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 4:10 AM To: BeginnersPerl (E-mail) Subject: Question- Archive::zip/tar Hello, I haven't tried it yet and wanted to know if anyone has the clue before I delve deeper into it (just being lazy :)). According to the documentation , the Archive::Tar module supports the *.gz format. I didn't find anything about *.Z (the compress format on UNIX). Does Archive::Tar supports this format but and somehow was skipped in the documentation ? If not, is there a module that does the same for *.Z?? Thanks Shishir -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]