[ create a new paste ] login | about

Link: http://codepad.org/5HcEer48    [ raw code | output | fork ]

skeletonkey - Perl, pasted on Oct 12:
1
2
3
my @items = (1, 2, 3, "four", 5, "six");
print "@items\n"; # delimited by spaced
print join(', ', @items) . "\n"; # delimited by what you want


Output:
1
2
1 2 3 four 5 six
1, 2, 3, four, 5, six


Create a new paste based on this one


Comments: