digraphs: mkdigraphlist: avoid undefinedness warnings
[sheet.git] / digraphs.plp
index 18123a61e127c8640681152c3ad25231f78f4eb0..84ac97133fccb16f8e7e3b122e830e604d1b1586 100644 (file)
@@ -23,7 +23,8 @@ Also see <a href="/unicode">common digraphs</a>.</p>
 are available as <a href="/digraphs.vim">ex commands</a>.</p>
 
 <:
-my $di = do 'digraphs.inc.pl';
+my $di = do 'digraphs.inc.pl'
+       or die "Error loading digraphs data: ", $@ // $!;
 
 my @chars = (
        [qw{! " % ' ( ) * + , - . /}],