/[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 594 by dpavlin, Fri Jul 7 21:47:13 2006 UTC revision 595 by dpavlin, Mon Jul 10 10:16:11 2006 UTC
# Line 20  use File::Path; Line 20  use File::Path;
20  use Time::HiRes qw/time/;  use Time::HiRes qw/time/;
21  use File::Slurp;  use File::Slurp;
22  use Data::Dump qw/dump/;  use Data::Dump qw/dump/;
23    use Storable qw/dclone/;
24    
25  =head1 NAME  =head1 NAME
26    
# Line 302  while (my ($database, $db_config) = each Line 303  while (my ($database, $db_config) = each
303                                          $log->error( "MFN $mfn validation errors:\n", join("\n", @errors) ) if (@errors);                                          $log->error( "MFN $mfn validation errors:\n", join("\n", @errors) ) if (@errors);
304                                  }                                  }
305    
306                                    my $ds_config = dclone($db_config);
307    
308                                    # default values -> database key
309                                    $ds_config->{_} = $database;
310    
311                                    # current mfn
312                                    $ds_config->{_mfn} = $mfn;
313    
314                                    # attach current input
315                                    $ds_config->{input} = $input;
316    
317                                  my $ds = WebPAC::Normalize::data_structure(                                  my $ds = WebPAC::Normalize::data_structure(
318                                          row => $row,                                          row => $row,
319                                          rules => $rules,                                          rules => $rules,
320                                          lookup => $lookup ? $lookup->lookup_hash : undef,                                          lookup => $lookup ? $lookup->lookup_hash : undef,
321                                            config => $ds_config,
322                                          marc_encoding => 'utf-8',                                          marc_encoding => 'utf-8',
323                                  );                                  );
324    

Legend:
Removed from v.594  
changed lines
  Added in v.595

  ViewVC Help
Powered by ViewVC 1.1.26