Getting closer...
After sprinkling File::Find with print statements I find that in the latest version of File::Find does this at line 444:
if (-d _) {This is the code that decides whether or not the thing it has found is a directory, and whether to recurse into it. Under Dancer this test fails for the subdirectories and it never recurses into them. But what is _ meant to be? Is that a thing I don't know about? If I change it to $_ it does recurse into the directory, and I end up with a valid XLSX file. There are lots of uses of an underscore on its own across this module.
In reply to Re^2: Incomplete file write under Dancer2
by realflash
in thread Incomplete file write under Dancer2
by realflash
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |