Home
Perl
Array
CGI
Class
Data Type
Database
File
GUI
Hash
Language Basics
Network
Regular Expression
Report
Statement
String
Subroutine
System Functions
Win32
XML
Menu
Join the mapped value : join « String « Perl
Perl
String
join
Join the mapped value
print join(
", "
, (map {my $value = $_; $value += 1} 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 result of the split function
4.
Join variables
5.
Join with
6.
Join with 'map chr'
7.
Join with 'map lc'
8.
Joining string with empty string