Skip to content

Commit 5723876

Browse files
committed
Merge pull request #18 from stmuk/master
add missing double quote to pod example
2 parents 9cc0b14 + 96d78a4 commit 5723876

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Str.pod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ of type L<Cool> are coerced to to C<Str> for literal matching.
351351
352352
my $some-string = "Some foo";
353353
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'
354+
$some-string.=subst(/foo/, "string"); # in-place substitution. $some-string is now 'Some string'
355355
356356
357357
The replacement can be a closure:

0 commit comments

Comments
 (0)