in reply to Array to list with quoted items

Would this do?:

@array = qw[a list of alphanumeric values 1 2 3 4 5 6 7 8 9];; $string = '"' . join( '", "', @array ) . '"';; print $string;; "a", "list", "of", "alphanumeric", "values", "1", "2", "3", "4 +", "5", "6", "7", "8", "9"

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?

Replies are listed 'Best First'.
Re^2: Array to list with quoted items
by miguelele (Beadle) on Jan 15, 2012 at 21:27 UTC

    Thank you all!!, in this case I prefer the first solution, just using join with the quotes and the commas.

    Nest step will be JSON, but it will be a major update, with better skills

    Regards