NAME

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

VERSION

version 0.01037

DESCRIPTION

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

METHODS

shared_cache

Returns the Cache::LRU object shared by all Pithub objects.

set_shared_cache

Sets the Cache::LRU 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.