/[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 1041 by dpavlin, Mon Nov 12 12:22:08 2007 UTC revision 1067 by dpavlin, Tue Nov 27 23:45:26 2007 UTC
# Line 153  pod2usage(-verbose => 2) if ($help); Line 153  pod2usage(-verbose => 2) if ($help);
153    
154  my $config = new WebPAC::Config( path => $config_path );  my $config = new WebPAC::Config( path => $config_path );
155    
156    WebPAC::Normalize::_debug( $debug - 1 ) if $debug > 1;
157    
158  #print "config = ",dump($config) if ($debug);  #print "config = ",dump($config) if ($debug);
159    
160  die "no databases in config file!\n" unless ($config->databases);  die "no databases in config file!\n" unless ($config->databases);
# Line 329  foreach my $database ( sort keys %{ $con Line 331  foreach my $database ( sort keys %{ $con
331    
332                  $log->debug("calling $module->new(",dump( $output ),")");                  $log->debug("calling $module->new(",dump( $output ),")");
333                  my $out = new $module->new( $output );                  my $out = new $module->new( $output );
334                  $out->init;                  if ( $out->init ) {
335                            push @output_modules, $out;
336                  push @output_modules, $out;                  } else {
337                            $log->warn("SKIPPED $module");
338                    }
339          }          }
340    
341    

Legend:
Removed from v.1041  
changed lines
  Added in v.1067

  ViewVC Help
Powered by ViewVC 1.1.26