Accessor for the next storage layer down.
Applies any modifications necessary to convert the query into a key suitable for this caching layer.
Takes the following parameters:
$query - the value to mangle
Returns the modified result (actual modification performed is implementation-dependent).
Attempts to retrieve the given value from storage.
query - the query we're trying to find
on_success - what to do when we win
on_failure - how to deal with defeat
Returns $self.
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.