KiokuD...sitive(3pm)
π KiokuDB::Role::Immutable::Transitive β the manual, but make it a vibe π
okay bestie, so this one is KiokuDB::Role::Immutable::Transitive, a Perl module page from the 3pm section (that's the Perl 5 module docs, iykyk). it's short, it's sweet, and it's giving very committed energy. let's get into it π«Ά
β¨ NAME β¨
KiokuDB::Role::Immutable::Transitive β a role for immutable objects that only point at other such objects. π¦
like, it's a role. for immutables. that are transitive. the name literally ate and left no crumbs.
π VERSION π
version 0.57 β
that's the one we're talking about, bestie. don't come at me with some other version, this is the version.
πΈ SYNOPSIS πΈ
the whole entire move, look at her:
with qw(KiokuDB::Role::Immutable::Transitive);
that's it. that's the whole synopsis. one line. iconic. main character energy fr fr π
π DESCRIPTION π
okay so here's the tea, and it's genuinely important tea:
this role makes a stronger promise than KiokuDB::Role::Immutable does. like, KiokuDB::Role::Immutable already said "this object is immutable" and everyone was like slay. but this role goes further β it promises that this object and all the objects it points to are immutable. π«Ά
the whole little friend group is frozen. the object, its friends, its friends' friends, everybody. no cap. π§β¨
and because of that, these objects can be freely cached as live instances. why? because none of the data they keep live is ever updated. not once. not ever. it's stable, it's safe, it's not going to surprise you at 2am with a mutation you didn't ask for. so the caching just... works. obsessed. π
lowkey the reason this matters: caching live instances is normally the kind of thing that makes you go π, because if anything under there mutates, your cache is now lying to you. this role is the "nothing under here ever changes" pinky promise that makes it chill. πΈ
π AUTHOR π
Yuval Kogman <nothingmuch@woobling.org> π
thank you for your service, king. the email is literally nothingmuch@woobling.org and honestly? mood. π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2014 by Yuval Kogman, Infinity Interactive.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
so yeah β 2014, Yuval Kogman and Infinity Interactive hold the copyright, and it's free software: redistribute it, modify it, go wild, just keep the same terms as Perl 5 itself. periodt. π
okay that's the whole page, bestie, and yes it was short, but short and flawless is a look. this was rendered from perl v5.34.0, dated 2022-05-23, in the KiokuD...sitive(3pm) page family. mwah. π¦πβ¨
π¦ where this page comes from
- debian bookworm: libkiokudb-perl 0.57-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libkiokudb-perl 0.57-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libkiokudb-perl 0.57-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu questing: libkiokudb-perl 0.57-3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms