in reply to Re: Directory checking on Windows XP
in thread Directory checking on Windows XP
I forgot to chomp($entry)!
What a rookie mistake I made! Thank you. I was thinking that readdir() didn't put CRLFs in...but apparently it does. When I added in the chomp($entry) the code works perfectly!
Even while debugging I failed to see the extra characters; I was too focused on the non-CRLF names and characters...looking for unexpected included extra spaces, etc.
Thank you apl. And thanks to everyone who responded. Your support and time mean the world to me and I am sincerely embarassed by my mistake and appreciate your time and efforts.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Directory checking on Windows XP
by ikegami (Patriarch) on Sep 22, 2008 at 06:09 UTC | |
by ack (Deacon) on Sep 22, 2008 at 06:17 UTC | |
by ikegami (Patriarch) on Sep 22, 2008 at 06:34 UTC | |
by ack (Deacon) on Sep 22, 2008 at 06:41 UTC |