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

Ah! Most interesting...! So now I'm curious about why, when I print out $entry, I don't see the LF. Does the \n metacharacter at the end of my print character string somehow obscure the LF in $entry?

I will explore that on my own, you have already given me so much of your time and I really will learn it better if I struggle with it myself.

ikegami, thank you.

ack Albuquerque, NM

Replies are listed 'Best First'.
Re^5: Directory checking on Windows XP
by ikegami (Patriarch) on Sep 22, 2008 at 06:34 UTC

    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.