X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/15d902acaa8a1fc24f756dcc5788d697a0c69a48..917ba679115b9e3cd7b88f7e5081a1a2503a684e:/sc.plp diff --git a/sc.plp b/sc.plp index 3437f8f..a282ef4 100644 --- a/sc.plp +++ b/sc.plp @@ -43,9 +43,9 @@ Html({ say "

$scver{game} units

\n"; my $units = do $datafile; -die "Cannot open unit data: $_\n" for $@ || $! || (); +Abort("Cannot open unit data", 501, $_) for $@ || $! || (); my $patch = shift @{$units} - or die "Cannot open unit data: metadata not found\n"; + or Abort("Cannot open unit data: metadata not found", 501); say "

Unit properties as seen or measured in $scver{name}\n$patch."; say "Also see the $_ table." for join(', ',