in reply to Re^3: Incomplete file write under Dancer2
in thread Incomplete file write under Dancer2

I forget where this is described in the docs

perldoc -f stat, search for the paragraph starting with "If stat is passed the special filehandle consisting of an underline". And the -X file tests use stat() as described in their introductory paragraph, which is why -d _ uses the same special filehandle as stat(_) .