in reply to Combining or Merging 2 zip files.

Look under "Add a directory/tree to a Zip" under Archive::Zip. Don't know about adding individual files, but this should get you started.

----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer

Note: All code is untested, unless otherwise stated

Replies are listed 'Best First'.
Re: Re: Combining or Merging 2 zip files.
by eric256 (Parson) on Jun 05, 2003 at 16:17 UTC
    I understand how to add files to the zip and even how to manage sending it over the network. I just can't figure out how to take two seperate zip files, and combine them, overwriteing the old files in the main zip with the new files in the updated zip.

      For that, I think you'll have to unzip at least the updated zip. Unless you want to mess around with the guts of Zip files.

      ----
      I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
      -- Schemer

      Note: All code is untested, unless otherwise stated