Like I said, untested. The line
my $zip = Archive::Zip->new; should have read
$zip = Archive::Zip->new;. Rather than creating a new archive in the variable
$zip, I was creating a new archive and storing it in a new
$zip variable that went out of scope immediately,; hence I kept adding to the old archive. The corrected, functional version is posted in an updated
Re: Multiple zip files from directories!