/[webpac]/trunk2/lib/WebPAC/Index.pm
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/lib/WebPAC/Index.pm

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

revision 410 by dpavlin, Sun Sep 5 21:40:57 2004 UTC revision 411 by dpavlin, Sun Sep 5 22:22:37 2004 UTC
# Line 65  sub insert { Line 65  sub insert {
65    
66          my $data = {@_};          my $data = {@_};
67    
         confess("need path and headline!") unless (defined($data->{'path'}) && defined($data->{'headline'}));  
   
68          my $log = $self->_get_logger();          my $log = $self->_get_logger();
69    
70            $log->logconfess("need path and headline!") unless (defined($data->{'path'}) && defined($data->{'headline'}));
71    
72          push @{$self->{'index'}}, $data;          push @{$self->{'index'}}, $data;
73    
74          $log->debug("stored path: ",$data->{'path'}," headline: ",$data->{'headline'});          $log->debug("stored path: ",$data->{'path'}," headline: ",$data->{'headline'});

Legend:
Removed from v.410  
changed lines
  Added in v.411

  ViewVC Help
Powered by ViewVC 1.1.26