Hi Kevin,
Thanks for your info. Somebody in this mailing list
previously told me to use UNIX tar utility rather than Archive::Tar.
So, I decided to use UNIX tar. But now I want to compress the tar file
and that's the reason for this question. But it looks like you are
suggesting to use perl Archive::Tar utility to tar the files. Can I
not just use the Compress utility of perl without Archive::Tar if it
is better that UNIX gzip ?
Thx
Kailash
From: [EMAIL PROTECTED] AT INTERNET on 05/09/2001 12:23 PM
To: Kailash Subramanian/ATL/ALLTELCORP
cc: [EMAIL PROTECTED] AT INTERNET@CCMAIL
Subject: Re: gzip or Compress::Zlib
Hi Kailash,
If you are doing the compression from with a Perl script, use
Archive::Tar
(which uses Compress::Zlib in the background). After installing the
modules,
use the following commands to see their documentation (which will give
you the
basic syntax):
perldoc Archive::Tar
perldoc Compress::Zlib
Cheers,
Kevin
On Wed, May 09, 2001 at 12:23:16PM -0400,
[EMAIL PROTECTED] (Kailas
[EMAIL PROTECTED]) spew-ed forth:
>
>
>
> Hello,
> Can somebody advice on whether to use UNIX gzip or the perl
Compress::Zli
b
> for compressing a tar file. If it is going to be Compress::Zlib, I
would
> appreciate if somebody can give me a basic syntax.
>
> Thx
> Kailash
>
>
--
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Never laugh at a live dragon.
-- The Hobbit