/[webpac]/trunk2/all2all.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 /trunk2/all2all.pl

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

revision 365 by dpavlin, Wed Jun 16 20:05:19 2004 UTC revision 366 by dpavlin, Thu Jun 17 01:44:25 2004 UTC
# Line 15  use WebPAC; Line 15  use WebPAC;
15    
16  my $webpac = new WebPAC(  my $webpac = new WebPAC(
17          code_page => 'ISO-8859-2',          code_page => 'ISO-8859-2',
18          limit_mfn => 500,          limit_mfn => 5,
19          debug => 1,          debug => 1,
20  ) || die;  ) || die;
21    
# Line 38  $webpac->open_import_xml(type => 'isis_h Line 38  $webpac->open_import_xml(type => 'isis_h
38    
39  while (my $rec = $webpac->fetch_rec) {  while (my $rec = $webpac->fetch_rec) {
40    
41      my $ds = $webpac->data_structure($rec);
42    
43      if(0) {
44    
45          print "-- ",$webpac->parse($rec,'v250^a / [v562^4] v562^a'),"\n";          print "-- ",$webpac->parse($rec,'v250^a / [v562^4] v562^a'),"\n";
46    
47          print " ",          print " ",
# Line 56  while (my $rec = $webpac->fetch_rec) { Line 60  while (my $rec = $webpac->fetch_rec) {
60    
61          @t = $webpac->fill_in($rec,'eval{v901^a eq "Deskriptor"}[a:v561^4:v562^4:v900];;[d:[a:v561^4:v562^4:v900]]');          @t = $webpac->fill_in($rec,'eval{v901^a eq "Deskriptor"}[a:v561^4:v562^4:v900];;[d:[a:v561^4:v562^4:v900]]');
62          print " Deskriptor: ",join("\t\n",@t),"\n" if (@t);          print " Deskriptor: ",join("\t\n",@t),"\n" if (@t);
63      }
64    
65  }  }
66    
67  print "## lookup ",Dumper($webpac->{'lookup'});  print "## lookup ",Dumper($webpac->{'lookup'});

Legend:
Removed from v.365  
changed lines
  Added in v.366

  ViewVC Help
Powered by ViewVC 1.1.26