Thanks! You were right. It was \r\n and the end of every word in the array
In reply to Re^4: Bizarre Perl behavior? by Polymathic in thread Bizarre Perl behavior? by Polymathic