By putting "my $zip = Archive::Zip->new();" inside the loop, you're creating a new archive for each file. You need to create one archive, outside of the loop, then loop over the files, adding each one to the archive.
In reply to Re: Archive::Zip Simple Issue
by scorpio17
in thread Archive::Zip Simple Issue
by drodinthe559
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |