in reply to Array to list with quoted items

$string_to_feed_javascript = do {$" = '", "'; qq{"@perl_array"}};
This will do what you ask, although I expect it will break your Javascript in many interesting ways.