/[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 1084 by dpavlin, Sun Dec 23 22:06:08 2007 UTC revision 1098 by dpavlin, Sat Aug 2 15:11:06 2008 UTC
# Line 349  foreach my $database ( sort keys %{ $con Line 349  foreach my $database ( sort keys %{ $con
349                  $log->info("database $database doesn't have inputs defined");                  $log->info("database $database doesn't have inputs defined");
350          } );          } );
351    
352            if ( -e 'out/debug' ) { # fixme flag?
353                    my $out;
354                    foreach my $i ( @inputs ) {
355                            warn dump( $i );
356                            next unless defined $i->{normalize};
357                            warn dump( $i->{normalize} );
358                            foreach my $normalize ( @{ $i->{normalize} } ) {
359                                    my $path = $normalize->{path};
360                                    $out .= qq/\n##\n## $path\n##\n\n/;
361                                    $out .= read_file( $path );
362                            }
363                    }
364                    my $all = "out/debug/all-normalize.pl";
365                    write_file( $all, $out );
366                    warn "### all normalize for this input saved to: $all";
367            };
368    
369          foreach my $input (@inputs) {          foreach my $input (@inputs) {
370    
371                  my $input_name = $input->{name} || $log->logdie("input without a name isn't valid: ",dump($input));                  my $input_name = $input->{name} || $log->logdie("input without a name isn't valid: ",dump($input));

Legend:
Removed from v.1084  
changed lines
  Added in v.1098

  ViewVC Help
Powered by ViewVC 1.1.26