foreach (@array) { my @row = split (/,/,$_); print $row[1]; ### << Note that I am not printing "\n" }