NAME
Data::Library - virtual class for repository support classes
SYNOPSIS
Data::Library provides a general repository service. Specifics are implemented in subclasses.
METHODS
- new
-
my $library = new Data::Library(...configuration...);
Configuration parameters are specific to subclasses.
- new
-
my $boolean = $library->lookup($tag);
Returns cached data items, by tag. If the source has changed since it was cached, returns false.
- find
-
my $data = $library->find($tag);
Searches for data item identified by $tag.
- cache
-
$library->cache($tag, $data);
Caches data by tag for later fetching via lookup().
- toc
-
my @array = $library->toc;
Search through the library and return a list of all available entries. Does not cache any of the items.
- reset
-
$library->reset;
Erase all entries from the cache.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 24:
'=item' outside of any '=over'
=over without closing =back