Surely a single chomp() after the loop is simpler and more efficient.
Anno
In reply to Re^2: Adding to array by Anno in thread Adding to array by pglenski