On 9/11/06, Derek B. Smith <[EMAIL PROTECTED]> wrote:

I need to compress a bunch of files, so instead of
making a system call to gzip I figured to try out
Archive::Zip.
After running this code it creates a new file but is
larger in size.

That module automatically uses Compress::Zlib to compress the data.
Were any of the files compressed before you started? Compression
algorithms can't shrink every file, and files that have compact
formats can't be shrunk. If you try collecting the files with another
archiving tool, you should see roughly the same results, if they're
already compact: The archive will be roughly the same size as the
uncompressed data, or a little larger.

Cheers!

--Tom Phoenix
Stonehenge Perl Training

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to