=================================================================== RCS file: /cvs/pta/pta_import.pl,v retrieving revision 1.29 retrieving revision 1.30 diff -u -p -r1.29 -r1.30 --- pta/pta_import.pl 2021/05/19 17:10:53 1.29 +++ pta/pta_import.pl 2021/05/19 21:43:47 1.30 @@ -193,7 +193,8 @@ LINE: while () { } $amount = sprintf "%.2f", $amount; my $description = join ' ', @fields[@description_fields]; - $date && $amount && $debit && $credit && $description + defined($date) && defined($amount) && defined($debit) && + defined($credit) && defined($description) or die "import parse error: $line"; $description =~ s/#//g; $description .= " [$fields[$cost_center_field]]"