43 |
=cut |
=cut |
44 |
|
|
45 |
our $pids; |
our $pids; |
|
our $cache; |
|
|
|
|
|
sub cache { |
|
|
return $cache; |
|
|
} |
|
46 |
|
|
47 |
sub run { |
sub run { |
48 |
my $self = shift; |
my $self = shift; |
237 |
|
|
238 |
warn "## entries = ",dump( @entries ); |
warn "## entries = ",dump( @entries ); |
239 |
|
|
240 |
# $self->cache->write_cache( \@entries, uri_escape( $filter )); |
my $path = 'var/' . uri_escape( $filter ) . '.yml'; |
241 |
|
DumpFile( $path, \@entries ); |
|
my $path = uri_escape( $filter ); |
|
|
DumpFile( "var/${path}.yml", \@entries ); |
|
242 |
warn "# created $path ", -s $path, " bytes"; |
warn "# created $path ", -s $path, " bytes"; |
243 |
|
|
244 |
return RESULT_OK, @entries; |
return RESULT_OK, @entries; |