in reply to File::Find Quirks?

Some filesystems don't properly support a "link count" for directories, like Unix does. The presumption is that if a directory contains a link count of two, then there aren't any subdirectories. Somewhere in the docs it tells how to disable this optimization, for filesystems that aren't very Unix-like.

-- Randal L. Schwartz, Perl hacker