KiokuDB::Thunk(3pm)

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

πŸ’– KiokuDB::Thunk β€” the manual page, bestie edition ✨

okay so. we're talking about KiokuDB::Thunk, which lives in the Perl 5 user-contributed docs section, and it's sitting at version 0.57. that's the tea. πŸ«–


🌸 NAME 🌸

KiokuDB::Thunk β€” internal only placeholder for deferred objects. like, it's the backstage pass holder, not the main character. πŸ‘‘


✨ VERSION ✨

version 0.57 β€” that's the number, no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

# do not use directly,
# KiokuDB::Meta::Attribute::Lazy, KiokuDB::Meta::Instance and
# KiokuDB::TypeMap::Entry::MOP will do the actual thunking of data so that
# the thunk will never be visible unless you break encapsulation.

and that's it, that's the whole vibe. do NOT use this directly, i'm literally begging. πŸ™


πŸ’… DESCRIPTION πŸ’…

okay so picture this: KiokuDB::Thunk is an internal placeholder object. it's not for you. it's not for me. it's for the machinery. πŸ€–

it gets used on attributes that you mark with KiokuDB::Meta::Attribute::Lazy, and that happens automatically β€” you don't lift a finger, the system just does it. slay. ✨

and here's the thing: it should never be visible to the user, because KiokuDB::Meta::Instance will automatically inflate it before it's even seen by the accessor's code. like, by the time your accessor gets a look, the thunk is already gone. poof. πŸͺ„

so if you are seeing a thunk, bestie… you broke encapsulation. that's on you. πŸ’€

πŸ‘‘ AUTHOR πŸ‘‘

Yuval Kogman <nothingmuch@woobling.org> β€” the icon who made this. 🫢


this software is copyright (c) 2014 by Yuval Kogman, Infinity Interactive.

it's free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. periodt. πŸ’–


and that's the whole page, bestie. this doc came from KiokuDB::Thunk(3pm), generated with perl v5.34.0, dated 2022-05-23 β€” so if you're reading this, you're officially caught up. go forth and don't touch the internal placeholder. mwah. πŸ’‹πŸŒˆ

πŸ“¦ where this page comes from