prefer $@ for eval errors
[sheet.git] / digits.plp
index f688d054104071ac5d4d817215e2de8862d7acf8..ec0d7ff1948a3dc65d839fe1078f2466bded3dc0 100644 (file)
@@ -29,14 +29,14 @@ my $glyphs = Shiar_Sheet::FormatChar->new;
 unless (exists $get{v}) {
        $glyphs->{unicode}--;
        $glyphs->{anno}  = [];
-       $glyphs->{style} = 0;
+       $glyphs->{style} = 'univer';
 }
 
 my $scriptname = do 'writing-script.inc.pl';
 $_ = qq{<a href="/latin">$_</a>} for $scriptname->{latn} || ();
 
 my @table = do "writing-digits.inc.pl";
-die "Table data not found: <em>$_</em>.\n" for $! || $@ || ();
+die "Table data not found: $_\n" for $@ || $! || ();
 
 $glyphs->print([map {
        ref $_ eq 'ARRAY' ? @{$_} : map { ".>$_" }