---
name: "Pithub::Result::SharedCache"
section: "3pm"
platform: "linux"
package: "libpithub-perl"
version: "0.01043-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Pithub::Result::SharedCache"
---

# Pithub::Result::SharedCache(3pm)

A role to share the LRU cache with all Pithub objects

## NAME

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

## VERSION

version 0.01043

## 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.
