http://www.perlmonks.org?node_id=583990


in reply to Unzipping a File

Well, it seems that $somezip->memberNamed( 'unzipped.txt' ); returns undef - which probably means that there is no file by that name in the zip archive.

What does print $somezip->memberNames(); show?

-- Hofmator

Code written by Hofmator and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.