Skip to content

Commit ff57738

Browse files
vaitkuskhwilliamson
authored andcommitted
pod/perlunicook.pod: fix typos in code examples
1 parent 2a2b6eb commit ff57738

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pod/perlunicook.pod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ properties for use in regexes.
419419
&utf8::IsTitle
420420
END_OF_SET
421421

422-
if (/\p{Is_GraecoRoman_Title}/ { ... }
422+
if (/\p{Is_GraecoRoman_Title}/) { ... }
423423

424424
=head2 ℞ 27: Unicode normalization
425425

@@ -519,7 +519,7 @@ we print out both forms:
519519
my $gcs = Unicode::GCString->new($str);
520520
my $cols = $gcs->columns;
521521
my $pad = " " x (10 - $cols);
522-
say str, $pad, " |";
522+
say $str, $pad, " |";
523523
}
524524

525525
generates this to show that it pads correctly no matter

0 commit comments

Comments
 (0)