/[webpac2]/Webpacus/lib/Webpacus/Model/WebPAC.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 /Webpacus/lib/Webpacus/Model/WebPAC.pm

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

revision 114 by dpavlin, Tue Nov 22 15:29:06 2005 UTC revision 115 by dpavlin, Wed Nov 23 00:15:01 2005 UTC
# Line 120  sub search { Line 120  sub search {
120    
121                  my $mfn = $1 if ( $results[$i]->{'@uri'} =~ m#/(\d+)$#);                  my $mfn = $1 if ( $results[$i]->{'@uri'} =~ m#/(\d+)$#);
122    
123                  # $log->debug("load_ds( $mfn )");                  #$log->debug("load_ds( $mfn )");
124    
125                  my $ds = $self->{db}->load_ds( $mfn ) || next;                  my $ds = $self->{db}->load_ds( $mfn ) || $log->error("can't load_ds( $mfn )") && next;
126                    
127                    #$log->debug( "ds = " . Dumper( \@html_results ) );
128    
129                  my $html = $self->{out}->apply(                  my $html = $self->{out}->apply(
130                          template => $template_filename,                          template => $template_filename,
131                          data => $ds,                          data => $ds,
# Line 135  sub search { Line 137  sub search {
137    
138          }          }
139    
140            #$log->debug( '@html_results = ' . Dumper( \@html_results ) );
141    
142          return \@html_results;          return \@html_results;
143  }  }
144    

Legend:
Removed from v.114  
changed lines
  Added in v.115

  ViewVC Help
Powered by ViewVC 1.1.26