http://qs1969.pair.com?node_id=543390


in reply to newbie question to archive::zip

You seem to be following the example in the Archive::Zip documentation pretty well. I question your usage of the second parameter to addFile: $file_name. This is an optional parameter to specify a new name to be used within the zip archive.

I imagine that you have the second parameter ($file_name) set to the zip file name, i.e. monday.zip. Try your code without this parameter.

Enjoy.
-Rg