KiokuD...::Table(3pm)
β¨ KiokuDB::Role::Upgrade::Handlers::Table β¨
okay bestie, pull up a chair because we're looking at KiokuDB::Role::Upgrade::Handlers::Table, a role for classes, straight out of the User Contributed Perl Documentation corner of the universe. it's a 3pm page, it's giving very much "I live in your @INC and I know things" π
πΈ VERSION πΈ
version 0.57 β that's the one, no cap.
π SYNOPSIS π
okay so here's the whole vibe, copy it exactly bestie:
with qw(KiokuDB::Role::Upgrade::Handlers::Table);
use constant kiokudb_upgrade_handlers_table => {
# like the individual entries in class_version_table
"0.01" => "0.02",
"0.02" => sub {
...
},
};
see how it's just a constant sitting there being iconic? yeah. that's the whole move. π¦
π DESCRIPTION π
so literally what this class does: it lets you hand over the version handling table as part of the class definition itself, instead of passing it in as arguments to the KiokuDB handle constructor. same table, different delivery method. it's giving "I brought my own snacks" π
if you want more details, go peek at KiokuDB::TypeMap::Entry::MOP β that's where the deets live.
and if you're feeling like you want a lower level alternative, KiokuDB::Role::Upgrade::Data is right there waiting for you. two doors, same hallway, pick your fighter β¨
π AUTHOR π
Yuval Kogman <nothingmuch@woobling.org> β the mastermind, the moment, the main character π«Ά
π COPYRIGHT AND LICENSE π
real talk, here's the legal bit and we do not skip it:
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, open source, we love to see it π
and that's the page bestie!! this lil doc shipped with perl v5.34.0 and was dated 2022-05-23, so go forth and handle those versions, you absolute icon ππ β¨
π¦ 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