Archive::Zip::FAQ

Archive::Zip::FAQ answers to a few frequently asked questions about Archive::Zip.
Download

Archive::Zip::FAQ Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Adam Kennedy
  • Publisher web site:
  • http://search.cpan.org/~adamk/

Archive::Zip::FAQ Tags


Archive::Zip::FAQ Description

Archive::Zip::FAQ answers to a few frequently asked questions about Archive::Zip. Archive::Zip::FAQ answers to a few frequently asked questions about Archive::Zip.It seems that I keep answering the same questions over and over again. I assume that this is because my documentation is deficient, rather than that people don't read the documentation.So this FAQ is an attempt to cut down on the number of personal answers I have to give. At least I can now say "You did read the FAQ, right?".The questions are not in any particular order. The answers assume the current version of Archive::Zip; some of the answers depend on newly added/fixed functionality.Install problems on RedHat 8 or 9 with Perl 5.8.0Q: Archive::Zip won't install on my RedHat 9 system! It's broke!A: This has become something of a FAQ. Basically, RedHat broke some versions of Perl by setting LANG to UTF8. They apparently have a fixed version out as an update.You might try running CPAN or creating your Makefile after exporting the LANG environment variable asLANG=Chttps://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=87682Why is my zip file so big?Q: My zip file is actually bigger than what I stored in it! Why?A: Some things to make sure of:Make sure that you are requesting COMPRESSION_DEFLATED if you are storing strings.$member->desiredCompressionMethod( COMPRESSION_DEFLATED );Don't make lots of little files if you can help it.Since zip computes the compression tables for each member, small members without much entropy won't compress well. Instead, if you've got lots of repeated strings in your data, try to combine them into one big member.Make sure that you are requesting COMPRESSION_STORED if you are storing things that are already compressed.If you're storing a .zip, .jpg, .mp3, or other compressed file in a zip, then don't compress them again. They'll get bigger. Requirements: · Perl


Archive::Zip::FAQ Related Software