my $file = "test.txt"; $zip1 = Archive::Zip->new( $myZipFile ); @files = $zip1->memberNames(); #this does not return any result..even though there are two files in the archive called test.txt @files = $zip1->membersMatching( '.*$file' ); print "this is the number of members matching $file : $#files \n\n"; $file->extractToFileNamed($fileToExtract) == AZ_OK or die "Unable to extract data file $! .";