summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-09-05 14:13:42 -0400
committerJesse Luehrs <doy@tozt.net>2013-09-05 14:13:50 -0400
commit2133ff7371f4f60bd060846c314efcd0ca63d10c (patch)
tree03e4ce24303fb63ea177d9df511b6cbfdffcd8ef
parent31f43bfe6659aecfd4ac5ad472a11698e80471ab (diff)
downloadspreadsheet-parsexlsx-2133ff7371f4f60bd060846c314efcd0ca63d10c.tar.gz
spreadsheet-parsexlsx-2133ff7371f4f60bd060846c314efcd0ca63d10c.zip
also support string formulas (#6)
-rw-r--r--lib/Spreadsheet/ParseXLSX.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Spreadsheet/ParseXLSX.pm b/lib/Spreadsheet/ParseXLSX.pm
index e483bd1..1aa14eb 100644
--- a/lib/Spreadsheet/ParseXLSX.pm
+++ b/lib/Spreadsheet/ParseXLSX.pm
@@ -164,6 +164,9 @@ sub _parse_sheet {
$long_type = 'Text';
$val = $val ? "TRUE" : "FALSE";
}
+ elsif ($type eq 'str') {
+ $long_type = 'Text';
+ }
else {
die "unimplemented type $type"; # XXX
}