Returns the cached value if we have it. Intended to be a low-overhead method for interacting with local, nonblocking caches.
Takes a single $query parameter which will be the query we're trying to find.
Returns an empty list if we don't have an answer in the cache, undef if we have an answer and that answer is "no value", otherwise returns whatever value we have on file.
Store a value in the cache.
Takes the following parameters:
$query - query to store under
$value - value to store in key (can be undef)
Returns $self.
key_mangle, retrieval_fallback, retrieve, shutdown, underlayer
To install EntityModel, copy and paste the appropriate command in to your terminal.
cpanm
cpanm EntityModel
CPAN shell
perl -MCPAN -e shell install EntityModel
For more information on module installation, please visit the detailed CPAN module installation guide.