my $string = q("one","two","three"); my @array = split( /"(?:,")?/, $string );