in reply to Splitting a line on just commas

Try this @arr = split /(".+?")|,/, $s ; print @arr;