redhotpenguin / perl-Archive-Zip

Archive::Zip as seen at https://metacpan.org/pod/Archive::Zip
Other
15 stars 44 forks source link

Add examples/avoidOpens.pl #102

Open thatsafunnyname opened 5 months ago

thatsafunnyname commented 5 months ago

This demonstrates how using Archive::Zip::readFromFileHandle and Archive::Zip::overwriteAs can avoid an open system call for every existing member of a zip file, when compared to using Archive::Zip::read and Archive::Zip::overwrite .

Mention it when examples are listed in the FAQ and also in the documentation for the readFromFileHandle method.

https://github.com/redhotpenguin/perl-Archive-Zip/issues/101