Don't ask to ask, just ask | |
PerlMonks |
Re: newbie question to archive::zipby RollyGuy (Chaplain) |
on Apr 14, 2006 at 16:33 UTC ( [id://543390]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|