For Programmers: Free Programming Magazines  


Home > Archive > PERL Modules > March 2004 > uncompressing a .Z file









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author uncompressing a .Z file
eden

2004-03-19, 12:56 pm

Hi,
on windows/intel platform using perl
I'm trying with no success to uncompress a .tar.Z file, (compressed on
solaris/SPARC using compress )

when i use (cygwin) gzip -d on my windows workstation on the specific
file it works fine

when i tried the various modules i came across CPAN the file is not
recognized as compressed file

any idea which module i should use to uncompress the .Z files?

Thanks
Eden
Gunnar Hjalmarsson

2004-03-19, 12:56 pm

eden wrote:
> any idea which module i should use to uncompress the .Z files?


From the Archive::Tar POD:

"If you have the IO::Zlib module installed, Archive::Tar will also
support compressed or gzipped tar files."

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com