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"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Array to list with quoted items
by miguelele (Beadle) on Jan 15, 2012 at 21:27 UTC |