KiokuDB::Class(3pm)
β¨ NAME β¨
KiokuDB::Class β the KiokuDB-specific metaclass, bestie π
πΈ VERSION πΈ
version 0.57 β she's giving seasoned, she's giving stable π«Ά
π SYNOPSIS π
package Foo;
use KiokuDB::Class; # instead of Moose
has bar => (
traits => [qw(KiokuDB::Lazy)],
...
);
okay so literally just swap out Moose for KiokuDB::Class and you're in the group chat π
π DESCRIPTION π
This is a Moose wrapper, and what she does is hand you some metaclass extensions so your class and KiokuDB can be, like, actually tight with each other. Not just mutuals β integrated. π
Right now the only thing set up is KiokuDB::Meta::Attribute::Lazy, and the way that works is by extending Moose::Meta::Instance with a custom role to support it. That's it, that's the whole roster currently π
But bestie, the future is bright: indexing, identity, and various optimizations are all coming to this metaclass too. So stay tuned, no cap. β
π AUTHOR π
Yuval Kogman <nothingmuch@woobling.org> β the icon, the moment, the whole blueprint π
π 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. slay, honestly π β¨
okay that's the whole page, ily, go build something cute π¦
this was perl v5.34.0, dated 2022-05-23, and yes the page name really is KiokuDB::Class(3pm) β periodt π
π¦ 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