KiokuD...:Alias(3pm)

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

πŸ’– KiokuDB::TypeMap::Entry::Alias β€” bestie edition πŸ’–

okay so this is the manpage for KiokuDB::TypeMap::Entry::Alias, from the User Contributed Perl Documentation corner of the universe, and she's giving extremely "middle of the typemap, doing the most" energy. let's get into it 🫢


✨ VERSION ✨

version 0.57

(yes she's an OG, we respect her 🌸)


🌈 NAME 🌈

KiokuDB::TypeMap::Entry::Alias β€” it's literally just an alias in the typemap pointing at another entry. that's the whole vibe. one entry, dressed up, saying "no babe, go talk to her" πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

okay bestie here's how you actually use her:

my $typemap = KiokuDB::TypeMap->new(
    entries => {
        'Some::Class' => KiokuDB::TypeMap::Entry::Alias->new(
            to => "Some::Other::Class",
        ),
        'Some::Other::Class' => ...,
    },
);

see how 'Some::Class' is just standing there pointing at 'Some::Other::Class'? that's the whole job. she's a hype-woman for another class. iconic behavior honestly πŸ‘‘


πŸŽ€ DESCRIPTION πŸŽ€

so this is a pseudo-entry β€” not a real one, a pseudo one, which is lowkey such a main character move. what she does is she tells the typemap resolution to re-resolve using the key sitting in the to field.

that's it. that's the tea. you give her a to, she redirects the whole resolution situation over there, and the typemap goes "oh okay cool, bet" and looks again with that new key. no cap, that's the entire function 🫑


πŸ’œ AUTHOR πŸ’œ

Yuval Kogman <nothingmuch@woobling.org>

(thank you for your service king πŸ™βœ¨)


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.

so yeah β€” free software, do your thing, remix her, redistribute her, just keep it under the same terms as Perl 5 itself. slay responsibly 🧚


not me getting emotionally attached to a typemap pseudo-entry 😭 she really said "I'm not the destination, I'm the signpost" and honestly? growth.

and that's a wrap bestie!! πŸ’– this lil page came to you courtesy of perl v5.34.0, dated 2022-05-23, and filed under KiokuD...:Alias(3pm) in the User Contributed Perl Documentation. she's old, she's tiny, she's perfect. periodt πŸŽ€πŸ¦‹βœ¨

πŸ“¦ where this page comes from