# After getting the XML file in @xml, how can I use it on the next line. my @xml = $zip->membersMatching( '.*\.XML' ); # here is the issue! my $xml_file = XML::XPath->new(ioref => @xml);