We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9cc0b14 + 96d78a4 commit 5723876Copy full SHA for 5723876
lib/Str.pod
@@ -351,7 +351,7 @@ of type L<Cool> are coerced to to C<Str> for literal matching.
351
352
my $some-string = "Some foo";
353
my $another-string = $some-string.subst(/foo/, "string"); # gives 'Some string'
354
- $some-string.=subst(/foo/, "string); # in-place substitution. $some-string is now 'Some string'
+ $some-string.=subst(/foo/, "string"); # in-place substitution. $some-string is now 'Some string'
355
356
357
The replacement can be a closure:
0 commit comments