Mega Code Archive

 
Categories / Perl / String
 

Join with

print join(", ", (map {2 * $_} 1, 2, 3));