Method::Cached::KeyRule::Serialize - Generation rule of key to serialization
use Method::Cached; use Method::Cached::KeyRule::Serialize; sub some_code :Cached(1800, SERIALIZE) { my ($hash_ref) = @_; } sub some_code_class :Cached(1800, [SELF_CODED, HASH]) { my ($self, %args) = @_; }
Generation rule of key to serialization
Warn: According to circumstances, the key becomes strict too much when parameters are serialized and cache might be not effective at all.
Satoshi Ohkubo <s.ohkubo@gmail.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Method::Cached, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Method::Cached
CPAN shell
perl -MCPAN -e shell install Method::Cached
For more information on module installation, please visit the detailed CPAN module installation guide.