summaryrefslogtreecommitdiffstats
path: root/lib/Spreadsheet/ParseXLSX.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Spreadsheet/ParseXLSX.pm')
-rw-r--r--lib/Spreadsheet/ParseXLSX.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Spreadsheet/ParseXLSX.pm b/lib/Spreadsheet/ParseXLSX.pm
index 6efc3b8..d79515f 100644
--- a/lib/Spreadsheet/ParseXLSX.pm
+++ b/lib/Spreadsheet/ParseXLSX.pm
@@ -538,7 +538,7 @@ sub _parse_xml {
die "no subfile named $subfile" unless $member;
my $xml = XML::Twig->new;
- $xml->parse($member->contents);
+ $xml->parse(scalar $member->contents);
return $xml;
}