4 title => 'digit characters sheet',
7 "Unicode glyphs of numbers 0 to 10 in various scripts.",
10 numeral numerical digit number counting decimal
11 script glyph unicode writing comparison list character
12 history sample test language multilingual
14 stylesheet => [qw( light dark circus mono red )],
15 data => [qw'writing-digits.inc.pl'],
21 <p>Digits and numbers counting up to ten
22 in various <a href="/writing">writing systems</a>.</p>
27 use List::Util qw( pairs );
28 use Shiar_Sheet::FormatChar 1.08;
29 my $glyphs = Shiar_Sheet::FormatChar->new;
30 unless (exists $get{v}) {
33 $glyphs->{style} = 'univer';
36 my $scriptname = do 'writing-script.inc.pl';
37 $_ = qq{<a href="/latin">$_</a>} for $scriptname->{latn} || ();
39 my @table = do "writing-digits.inc.pl";
40 die "Table data not found: $_\n" for $@ || $! || ();
42 say $glyphs->tabletag;
43 for my $row (pairs @table) {
44 my ($id, $info) = @{$row};
45 my $title = $info->{title} // $scriptname->{$id} || $id;
46 print $glyphs->row([ ".>$title", @{$info->{list}} ]);