Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

problem with Archive::Zip

by fionbarr (Monk)
on Aug 09, 2010 at 11:55 UTC ( #853788=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      my $zip = Archive::Zip->new();
      $zip->addFile($renamed_file)->desiredCompressionLevel(0);    
      if( $zip->writeToFileNamed($zip_filename) != AZ_OK ) {     print "wr
    +ite error...$!"; }
          print "Added $renamed_file to $zip_filename\n";
    }
    
  2. or download this
    Can't call method "desiredCompressionLevel" on an undefined value at /
    +home/fds/lang/perl/fdsPerl-20100809/lib/site_perl/5.12.1/Archive/Zip/
    +Archive.pm line 249.
     at /home/fds/lang/perl/fdsPerl-20100809/lib/site_perl/5.12.1/Archive/
    +Zip/Archive.pm line 249
            Archive::Zip::Archive::addFile('Archive::Zip::Archive=HASH(0x1
    +49ff318)', 'vm.don') called at ve.pl line 75
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://853788]
Approved by almut
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2014-04-16 10:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (424 votes), past polls