CiderW...::Cache(3pm)

πŸ“¦
version 1.05+20240702 Β· 5 versions
, in debian trixie, ubuntu resolute

🌸 CiderW...::Cache (3pm) 🌸

okay so bestie, this is the User Contributed Perl Documentation page for CiderW...::Cache, and honestly? She's short, she's sweet, she's giving quiet luxury. ✨

It's a per-request cache β€” a lil cache that hangs around for a request β€” and she ships with exactly two methods. That's it. That's the whole menu. But the way she does it? Flawless. No notes. πŸ’…


πŸŽ€ get() πŸŽ€

Fetches a key out of the per-request cache. That's the whole job, and she does it beautifully. πŸ‘‘

And if that key isn't in the cache? She doesn't throw hands, she doesn't make it weird β€” she just returns undef. Very demure, very mindful. 🫢

lowkey the undef is the important part, bestie β€” if you're checking whether something came back, that's your signal. 🚩

πŸ¦‹ set() πŸ¦‹

Inserts a key into the per-request cache. Put the thing in the box. The box is the per-request cache. Done. Iconic behaviour, no cap. πŸ“¦βœ¨


πŸ’– the vibe check πŸ’–

  • get() β†’ pull a key out, get undef if it's not there 😭
  • set() β†’ put a key in πŸ“

Two methods. Per-request cache. That's the entire story, and I'm obsessed with her for it. 🌈


okay that's the page!! this one came from the User Contributed Perl Documentation, running under perl v5.40.1, dated 2025-03-02, and the manual itself is CiderW...::Cache(3pm) β€” love her, mwah, bye bestie!! πŸ’œπŸ’–πŸŽ€

πŸ“¦ where this page comes from