in reply to Re: Incomplete file write under Dancer2
in thread Incomplete file write under Dancer2
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Incomplete file write under Dancer2
by swl (Prior) on Jul 25, 2024 at 23:04 UTC | |
|
Re^3: Incomplete file write under Dancer2
by NERDVANA (Priest) on Jul 25, 2024 at 19:14 UTC | |
by pryrt (Abbot) on Jul 25, 2024 at 19:25 UTC |