Skip to content

Commit 5e00ce1

Browse files
committed
perlunicook: Example needs 'use utf8'
1 parent 648841e commit 5e00ce1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pod/perlunicook.pod

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,7 @@ ASCII digits only, but Perl’s implicit string-to-number
442442
conversion does not currently recognize these. Here’s how to
443443
convert such strings manually.
444444

445+
use utf8;
445446
use v5.14; # needed for num() function
446447
use Unicode::UCD qw(num);
447448
my $str = "got Ⅻ and ४५६७ and ⅞ and 兆 here";

0 commit comments

Comments
 (0)