Posted on 2005-09-01 05:28:51-07 by sunfox
How to reset everything...
Just thought it would be good if the documentation had a little tip that if you would like to reset everything and start working on a completely new file, to call the Archive::Zip->new() routine again. Otherwise if a program is working on multiple files, "read" keeps appending the new file's contents to all previously loaded files. Since the docs don't mention this use of "new", or even how to reset, close or clear anything in general, I was getting hung up on trying to figure out endRead(), which was the only thing available that SOUNDED like it might clear something.
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.