--- trunk2/lib/WebPAC/Index.pm 2004/09/15 16:51:24 447 +++ trunk2/lib/WebPAC/Index.pm 2004/09/15 16:53:51 448 @@ -54,8 +54,8 @@ Insert data into index $index->insert( - path => 'path', headline => 'headline text', + mfn => '99', ); =cut @@ -67,11 +67,11 @@ my $log = $self->_get_logger(); - $log->logconfess("need path and headline!") unless (defined($data->{'path'}) && defined($data->{'headline'})); + $log->logconfess("need headline and mfn!") unless (defined($data->{'headline'}) && defined($data->{'mfn'})); push @{$self->{'index'}}, $data; - $log->debug("stored path: ",$data->{'path'}," headline: ",$data->{'headline'}); + $log->debug("stored ",$data->{'mfn'},": ",$data->{'headline'}); }