/[webpac2]/trunk/run.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/run.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 850 by dpavlin, Sun May 27 10:50:39 2007 UTC revision 851 by dpavlin, Sun May 27 11:14:40 2007 UTC
# Line 144  GetOptions( Line 144  GetOptions(
144          "help" => \$help,          "help" => \$help,
145  );  );
146    
147    $marc_generate = 0 if ( $validate_delimiters_path );
148    
149  pod2usage(-verbose => 2) if ($help);  pod2usage(-verbose => 2) if ($help);
150    
151  my $config = new WebPAC::Config( path => $config_path );  my $config = new WebPAC::Config( path => $config_path );
# Line 568  while (my ($database, $db_config) = each Line 570  while (my ($database, $db_config) = each
570                                  print $report_fh "$errors\n" if ($report_fh);                                  print $report_fh "$errors\n" if ($report_fh);
571                          }                          }
572    
573                          print $report_fh "\nAll possible subfields/delimiter templates:\n", $validate->delimiters_templates( report => 1 ), "\n\n";                          print $report_fh "\nAll possible subfields/delimiter templates:\n", $validate->delimiters_templates( report => 1, current_input => 1 ), "\n\n";
574    
575                            # must be last thing that touches $validate for this input
576                            $validate->reset;
577                  }                  }
578    
579                  if ($stats) {                  if ($stats) {
# Line 582  while (my ($database, $db_config) = each Line 587  while (my ($database, $db_config) = each
587    
588                  # close report                  # close report
589                  close($report_fh) if ($report_fh);                  close($report_fh) if ($report_fh);
   
                 # reset validate stats  
                 $validate->reset if ( $validate );  
590          }          }
591    
592          eval { $indexer->finish } if ($indexer && $indexer->can('finish'));          eval { $indexer->finish } if ($indexer && $indexer->can('finish'));

Legend:
Removed from v.850  
changed lines
  Added in v.851

  ViewVC Help
Powered by ViewVC 1.1.26