Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: newbie question to archive::zip

by RollyGuy (Chaplain)
on Apr 14, 2006 at 16:33 UTC ( [id://543390]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://543390]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-03-29 13:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found