KiokuD...::Entry(3pm)

πŸ“¦
version 0.57 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu questing

✨ NAME ✨

KiokuDB::TypeMap::Entry β€” bestie, it's the role for KiokuDB::TypeMap entries πŸ’– (this is the KiokuD...::Entry(3pm) page btw, in case the terminal truncated it like it always does πŸ™ˆ)


🌸 VERSION 🌸

version 0.57 β€” yes queen, we're on 0.57 πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

okay so here's the vibe, copy it exactly bestie:

package KiokuDB::TypeMap::Foo;
use Moose;

with qw(KiokuDB::TypeMap::Entry);

# or just use KiokuDB::TypeMap::Entry::Std

sub compile {
    ...
}

πŸ¦‹ DESCRIPTION πŸ¦‹

This is the role that literally every typemap entry consumes. That's it, that's the whole description. It's giving minimal, it's giving confident, it's giving main character who doesn't need to over-explain πŸ’…


πŸ”₯ REQUIRED METHODS πŸ”₯

  • compile $class β€” so KiokuDB::TypeMap::Resolver calls this method for a given class, and you gotta return a KiokuDB::TypeMap::Entry::Compiled object from it. That object is what does the collapsing and expanding of the object ✨ no cap.

Also: KiokuDB::TypeMap::Entry::Std gives you a way more concise way of defining typemap entries, so if you're out here writing it all by hand, bestie, maybe check that out 🫢


πŸ‘‘ AUTHOR πŸ‘‘

Yuval Kogman <nothingmuch@woobling.org> β€” the icon, the legend, the moment ⭐


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. fr fr, go wild, it's free 🌈


okay that's the whole page bestie, mwah πŸ’– this was perl v5.34.0, dated 2022-05-23 β€” signed, sealed, delivered, periodt πŸ’…βœ¨

πŸ“¦ where this page comes from