Jon Galliers wrote:
> 
> I have a real fear that this is a really stupid question, however I'm
> having real problems using Archive::Zip.

Try something like:

  use strict;
  use Archive::Zip qw( :ERROR_CODES :CONSTANTS );

  my $zip = Archive::Zip->new();
  my $member = $zip->addFile("boris.pl");
  $member->desiredCompressionLevel(9);
  $zip->writeToFileNamed("boris.zip") == AZ_OK or die "Zip write error";



Greg

Reply via email to