programming-examples/perl/String/Join the mapped value.pl
2019-11-15 12:59:38 +01:00

3 lines
69 B
Raku

print join(", ", (map {my $value = $_; $value += 1} 1, 2, 3));