in reply to Interpolating a string into list context.

If the strings don't contain commas then you could:

my $string = q("one","two","three"); my @array = map {s/^['"](.*)['"]$/$1/ ? $1 : $_} split ',', $string; print "@array";

Prints:

one two three

Perl is environmentally friendly - it saves trees