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

NAME

Pithub::Result::SharedCache - A role to share the LRU cache with all Pithub objects

VERSION

version 0.01041

DESCRIPTION

A role to share the least recently used cache with all Pithub objects.

METHODS

shared_cache

Returns the CHI object shared by all Pithub objects.

set_shared_cache

Sets the CHI object shared by all Pithub objects.

This should only be necessary for testing or to change the size of the cache.

AUTHOR

Johannes Plunien <plu@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Johannes Plunien.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.