KiokuD...:Naive(3pm)
π KiokuDB::TypeMap::Entry::Naive π
okay bestie, so this is a page from the KiokuDB::TypeMap::Entry::Naive(3pm) manual β a little Perl module from the User Contributed Perl Documentation pile β and it is exactly what it sounds like. it's the typemap entry for "simple" objects. no cap. β¨
πΈ NAME πΈ
KiokuDB::TypeMap::Entry::Naive β a typemap entry for "simple" objects π«Ά
π VERSION π
version 0.57 β
β¨ SYNOPSIS β¨
KiokuDB::TypeMap->new(
entires => {
'My::Class' => KiokuDB::TypeMap::Entry::Naive->new,
},
);
π
yes, entires is spelled exactly like that in the original. do not come for me, i am simply the messenger. iykyk.
π¦ DESCRIPTION π¦
this typemap entry is the one for plain objects that you can store just by walking them recursively. it's giving "just vibe-check every attribute and keep it moving." π
most objects fall into this category, periodt. but there are some notable exceptions, and you need to know about them:
- XS based objects, using a pointer as a number π β when these get deserialized, the pointer value is no longer valid, and that causes segfaults. yeah. like, actual crashing. not cute at all.
- Inside out objects π« β the referent is really a flyweight object with no data, so the object will be missing its attributes, and you need a suitable typemap entry instead. this applies to any object interacting with a global state of some sort.
- Objects with magic π β Perl SV level magic is not retained, apart from tied values.
π ATTRIBUTES π
intrinsicβ if true, the object will be collapsed without an ID, as part of its parent. main character energy but make it anonymous. β¨
π AUTHOR π
Yuval Kogman <nothingmuch@woobling.org> π
πΈ 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. π
and that's the whole thing bestie, we ate, no crumbs left π
this was page KiokuDB::TypeMap::Entry::Naive(3pm) from perl v5.34.0, dated 2022-05-23 β mwah, go forth and store your simple objects responsibly πβ¨π¦
π¦ 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