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, |
137 |
|
|
138 |
} |
} |
139 |
|
|
140 |
|
#$log->debug( '@html_results = ' . Dumper( \@html_results ) ); |
141 |
|
|
142 |
return \@html_results; |
return \@html_results; |
143 |
} |
} |
144 |
|
|