The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Method::Cached::KeyRule::Base - Base class to make key generation rule

SYNOPSIS

  package Foo::SomeRule;
  
  use base qw/Method::Cached::KeyRule::Base/;
  
  __PACKAGE__->export_rule(qw/SOME_RULE/);
  
  sub SOME_RULE {
      my ($method_name, $args) = @_;
      ...
  }

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.