Is it also possible to read the file without unzipping it? In the end i want to be able to get rid of the file so as to save space as soon as its in Excel format. Can this be done in perl?
Maybe you're a bit unclear talking about the file: what file do you refer to, the ZIP archive file (i.e. "file.zip" in the example) or the compressed file that's contained in the archive (i.e. "subdir/abc.txt" in the example)?
If you're dealing with the former, I don't understand your question - you can delete the ZIP file once you'r done. Assuming the latter, AFAIK all unzipping using Archive::Zip happens in memory, and I guess it's the same for Archive::Zip::MemberRead, so you won't see anything cluttering your filesystem.
Flavio (perl -e "print(scalar(reverse('ti.xittelop@oivalf')))")
Don't fool yourself.In reply to Re^3: Reading a zipped file
by polettix
in thread Reading a zipped file
by MonkPaul
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |