KiokuD...trinsic(3pm)

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

πŸ’– KiokuDB::TypeMap::Entry::Std::Intrinsic πŸ’–

okay so bestie, welcome to the manual page for KiokuDB::TypeMap::Entry::Std::Intrinsic, which lives in the User Contributed Perl Documentation section, aka section 3pm. yes it's a Perl module page. yes it's giving library internals. no we are not scared. πŸ’…


✨ VERSION ✨

version 0.57 β€” that's the one, that's the era we're in 🫢


🌸 SYNOPSIS 🌸

TODO

not me putting TODO in the synopsis section and just leaving it there 😭 that is genuinely all the original gives us, so that's all you're getting, no cap. it's giving unfinished homework but make it documentation.


πŸ¦‹ DESCRIPTION πŸ¦‹

So this thing is a role, and what it does is provide a compile_collapse implementation. The way it pulls that off is very much a "break it down now" situation: it chops the work up and then requires that you, the implementer, supply a method called compile_collapse_body. πŸ‘‘

Like, it doesn't do the whole thing itself. It sets the stage and hands you the mic. main character energy but for the person subclassing it. 🎀


πŸ’œ REQUIRED METHODS πŸ’œ

  • compile_collapse_body β€” okay so this one you literally must write, it's required, periodt. It has to return either a code reference or a method name. That method then gets called on the KiokuDB::Collapser, and it gets passed a hash of parameters. πŸ“

The parameters can include (but are not limited to) the following β€” so like, these are the ones listed, don't come for me about others:

  • object β€” the object that's getting collapsed. that's the one, that's the subject of the whole operation πŸŽ€
  • id β€” the id under which the object is going to be stored. it's the address, it's the label, it's the little name tag 🏷️
  • class β€” the type of "object". like, what kind of thing even is this. vibe check on the class. 🌈

And then β€” the moment of truth β€” the method should return a KiokuDB::Reference object. πŸ’«

ngl the "should" is doing a lot of heavy lifting there, so take it seriously, bestie. return a KiokuDB::Reference object and we're all good. πŸ™ˆ

πŸ‘‘ AUTHOR πŸ‘‘

Yuval Kogman <nothingmuch@woobling.org> β€” the icon, the legend, the one who wrote this πŸ’–


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. 🫢


okay that's the whole page, and here's your cute little sign-off: this was generated from perl v5.34.0 on 2022-05-23. bye bestie, go return a KiokuDB::Reference object πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from