Pithub...edCache(3pm)

πŸ“¦
version 0.01043 Β· 4 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– Pithub::Result::SharedCache πŸ’–

okay so bestie, welcome to Pithub::Result::SharedCache, a lil module from the User Contributed Perl Documentation, and honestly? it's giving "one cache to rule them all" energy πŸ‘‘


🌸 NAME 🌸

Pithub::Result::SharedCache β€” it's a role whose whole entire job is sharing the LRU cache with every single Pithub object. yes, all of them. no gatekeeping here, we share πŸ’…


✨ VERSION ✨

This is version 0.01043. write it down, remember it, tell your friends πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

So basically: it's a role that shares the least recently used cache (that's LRU for the uninitiated, iykyk) with all Pithub objects. One cache. All the Pithub objects. Communal. Iconic. No cap 🫢


πŸŽ€ METHODS πŸŽ€

⭐ shared_cache

Returns the CHI object that all the Pithub objects are sharing. It's the group chat of objects, fr fr πŸ’¬

⭐ set_shared_cache

Sets the CHI object that all the Pithub objects share.

lowkey important: you should only need this for testing, or if you wanna change the size of the cache. that's it. that's the whole situation πŸ™ˆ

πŸ‘‘ AUTHOR πŸ‘‘

Johannes Plunien <plu@cpan.org> β€” thank you for your service, legend 🫑


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. slay, honestly 🌈


and that's the whole page bestie!! this doc came to you from perl v5.40.1 and it's dated 2025-06-08 β€” so go forth, share that cache, and stay iconic πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…

πŸ“¦ where this page comes from