in reply to Re^4: Directory checking on Windows XP
in thread Directory checking on Windows XP

Does the \n metacharacter at the end of my print character string somehow obscure the LF in $entry?

The code you posted contains no variable named $entry.

It's definitely possible that it's easy to overlook that $var ends with \n when doing print("$var\n"), but both \n will have an effect.