[BACK]Return to pta_import.pl CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / pta

Diff for /pta/pta_import.pl between version 1.20 and 1.21

version 1.20, 2020/11/23 14:14:23 version 1.21, 2020/11/25 12:46:41
Line 198  close $in;
Line 198  close $in;
 $csv_account or die "no ACCOUNT line in $fn";  $csv_account or die "no ACCOUNT line in $fn";
   
 # Parse the CSV file from the bank.  # Parse the CSV file from the bank.
 LINE: while (<>) {  if (@ARGV) {
           open STDIN, '<', $ARGV[0] or die "$ARGV[0]: $!";
   }
   LINE: while (<STDIN>) {
         chomp;          chomp;
         next if (/^$/);          next if (/^$/);
         foreach my $ignore (@ignored) {          foreach my $ignore (@ignored) {

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

CVSweb