--- trunk2/all2all.pl 2004/06/16 16:50:30 362 +++ trunk2/all2all.pl 2004/06/17 01:44:25 366 @@ -15,12 +15,12 @@ my $webpac = new WebPAC( code_page => 'ISO-8859-2', - limit_mfn => 500, + limit_mfn => 5, + debug => 1, ) || die; $|=1; -print "reading database\n"; my $maxmfn = $webpac->open_isis( filename => shift @ARGV || '/data/hidra/THS/THS', lookup => [ @@ -34,8 +34,14 @@ print "rows: $maxmfn\n\n"; +$webpac->open_import_xml(type => 'isis_hidra_ths'); + while (my $rec = $webpac->fetch_rec) { + my $ds = $webpac->data_structure($rec); + + if(0) { + print "-- ",$webpac->parse($rec,'v250^a / [v562^4] v562^a'),"\n"; print " ", @@ -54,6 +60,8 @@ @t = $webpac->fill_in($rec,'eval{v901^a eq "Deskriptor"}[a:v561^4:v562^4:v900];;[d:[a:v561^4:v562^4:v900]]'); print " Deskriptor: ",join("\t\n",@t),"\n" if (@t); + } + } print "## lookup ",Dumper($webpac->{'lookup'});