#Remove commas $content =~ s!, "?!!gis; @array = split(/"/, $content);