NAME
Method::Cached::KeyRule::Serialize - Generation rule of key to serialization
SYNOPSIS
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) = @_;
}
DESCRIPTION
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.
AUTHOR
Satoshi Ohkubo <s.ohkubo@gmail.com>
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.