|laziness, impatience, and hubris|
Re^5: Read text file - Encoding problem?by better (Acolyte)
|on Mar 17, 2013 at 15:14 UTC||Need Help??|
Thanks for this link!
Is it correct, that this Carriage return (cr) is obviously not removed by chomp? And that this could be the reason, why the regex (including cr) can not be matched to the array elements of read_dir (which have no cr)?
Well, I will try to remove cr by defining $/ = "\r\n" and I will see if the script is running
After parsing the csv file and writing the entries of the first coloumn into a text file, stripping of the carriage return. My main script "search and copy files" works.
Thanks to all monks, who helped me to find enlightenment ;-)
I'm feeling much better now
And here is the code: