Join with : join « String « Perl






Join with

    

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

   
    
    
    
  








Related examples in the same category

1.Join strings
2.Takes its input and joins it into a single string.
3.Join the mapped value
4.Join the result of the split function
5.Join variables
6.Join with 'map chr'
7.Join with 'map lc'
8.Joining string with empty string