jashv has asked for the wisdom of the Perl Monks concerning the following question:
is there a way to make it not clear the zip file? I want this so each day it can scan a directory and add files to the already existing zip. Did I explain well enough?my $zip = Archive::Zip->new(); my $member = $zip->addDirectory( 'dirname/' ); $member->desiredCompressionMethod(); $member = $zip->addFile( "$file_to_zip", "$file_name" ); + die 'write error' unless $zip->writeToFileNamed( $zip_file_name ) +== AZ_OK;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: newbie question to archive::zip
by RollyGuy (Chaplain) on Apr 14, 2006 at 16:33 UTC | |
|
Re: newbie question to archive::zip
by davidrw (Prior) on Apr 14, 2006 at 16:42 UTC | |
by jashv (Initiate) on Apr 14, 2006 at 18:25 UTC | |
by davidrw (Prior) on Apr 14, 2006 at 18:29 UTC | |
by jashv (Initiate) on Apr 14, 2006 at 19:00 UTC | |
by davidrw (Prior) on Apr 14, 2006 at 19:29 UTC | |
|