Split without chomp: 8 fields. $VAR1 = ["A","B","C","D","","","","\n"]; Split _after_ chomp: 4 fields. $VAR1 = ["A","B","C","D"];