String_concatenation.md 321 B

String concatenation

my $s = 'hello';
say $s ~ ' literal';
my $s1 = $s ~ ' literal';
say $s1;
 
# or, using mutating concatenation:
 
$s ~= ' literal';
say $s;

Note also that most concatenation in Perl 6 is done implicitly via interpolation.