Satoshi Ohkubo > Method-Cached-0.051 > Method::Cached::KeyRule::Base

Download:
Method-Cached-0.051.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

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.

syntax highlighting: