in reply to Archive::Zip problem
Archive::Zip::addTree calls File::Find::find, which probably clobbers the find you're doing. I don't see anything in the Archive::Zip code to accommodate an already running find, so if File::Find doesn't have it (I haven't checked, but I doubt it does), that's the problem.
What you'd need to do is avoid calling anything in Archive::Zip while you're still in the middle of your own find. That means using find to build a list of things you want to operate on, and then doing the Archive::Zip work with them after your find is done.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Archive::Zip problem
by ferreira (Chaplain) on Dec 28, 2006 at 10:15 UTC | |
|
Re^2: Archive::Zip problem
by jatoba (Initiate) on Dec 28, 2006 at 14:37 UTC |