To fully understand directories, you need to be acquainted with the underlying mechanics. The following explanation is slanted toward the Unix filesystem, for whose syscalls and behavior Perl's directory access routines were designed, but it is applicable to some degree to most other platforms.
Unix news is nothing but Opensourse - this site features general information about Linux - Unix - Python Programming language. Lately i am adding more posts about Cybersecurity, Data analytics, Hacking tips and Tricks.