Skip to content

Commit 4f06e4c

Browse files
jidannikhwilliamson
authored andcommitted
Update perlunicook.pod fixing grammatical error
We fix the grammatical error by adding a CJK example!
1 parent ff57738 commit 4f06e4c

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
@@ -444,12 +444,12 @@ convert such strings manually.
444444

445445
use v5.14; # needed for num() function
446446
use Unicode::UCD qw(num);
447-
my $str = "got Ⅻ and ४५६७ and ⅞ and here";
447+
my $str = "got Ⅻ and ४५६७ and ⅞ and here";
448448
my @nums = ();
449449
while ($str =~ /(\d+|\N)/g) { # not just ASCII!
450450
push @nums, num($1);
451451
}
452-
say "@nums"; # 12 4567 0.875
452+
say "@nums"; # 12 4567 0.875 1000000000000
453453

454454
use charnames qw(:full);
455455
my $nv = num("\N{RUMI DIGIT ONE}\N{RUMI DIGIT TWO}");

0 commit comments

Comments
 (0)