X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=yarrg%2FCommods.pm;h=48caf79e9ba3f5ca1f0d2f158c4d8f36d18f242d;hb=6dd8d650dfc26d113119c3566747d35855834146;hp=42670342372f8dfbc20f24d063e74d796c041f4b;hpb=5d8ee699b4b762eb9ce3c6eb3b17f4c10d6d4ad1;p=ypp-sc-tools.main.git diff --git a/yarrg/Commods.pm b/yarrg/Commods.pm index 4267034..48caf79 100644 --- a/yarrg/Commods.pm +++ b/yarrg/Commods.pm @@ -422,7 +422,7 @@ sub check_tsv_line ($$) { chomp($l) or &$bad_data('missing end-of-line'); - $l !~ m/\P{IsPrint}/ or &$bad_data('nonprinting char(s)'); + $l !~ m/\P{IsPrint}/ or &$bad_data('nonprinting char(s) '.sprintf "%#x", ord $&); my @v= split /\t/, $l, -1; @v==6 or &$bad_data('wrong number of fields'); $v[1] =~ s/^\s+//; $v[1] =~ s/\s+$//; # ooo don't check :-(