MetaCP...Entity(3pm)
β¨ MetaCPAN::Client::Role::Entity β bestie edition β¨
okay so the real page name is MetaCP...Entity(3pm) from the User Contributed Perl Documentation, and honestly? it's shorter than my attention span but it's kinda iconic. let's get into it π
π¦ NAME π¦
MetaCPAN::Client::Role::Entity β it's a role for MetaCPAN entities, bestie. that's the whole vibe.
πΈ VERSION πΈ
version 2.044000 β¨ (yes she's got her numbers, we love a versioned queen)
π DESCRIPTION π
so basically, this is a role that gets consumed by every single MetaCPAN::Client entity. it's the shared mom friend of the entity world π«Ά
what does it bring to the group chat? common attributes and methods. that's it. that's her job. and she does it flawlessly, no cap.
π ATTRIBUTES π
π data
a hash reference holding all the entity data. like, every lil fact about the entity lives in here π
entities are usually generated through new_from_request, which sets the data attribute all cute and correct by grabbing the relevant information off the request. it knows exactly what to keep. main character energy fr fr β¨
Required. you cannot skip this one. no data, no entity. periodt.
π METHODS π
π
new_from_request
makes you a brand new entity object using a request hash. that hash is the info that came back from a MetaCPAN request π¦
bonus: it also sets the data attribute for you. so thoughtful. so giving.
β BUILDARGS
does the type checks & conversion for the incoming data πβ¨
translation: it peeks at what you're passing in and makes sure it's actually the right type, converting it if needed. no bad vibes get through the door. a true gatekeeper π
π«Ά AUTHORS π«Ά
- Sawyer X
<xsawyerx@cpan.org> - Mickey Nasriachi
<mickey@cpan.org>
two legends. we stan. π
π COPYRIGHT AND LICENSE π
this software is copyright (c) 2016 by Sawyer X πΈ
it's free software, bestie β you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself π
and that's the whole page, no crumbs left. this came from the file's footer vibes: perl v5.40.1, dated 2026-07-05 π go forth and entity responsibly, iykyk β¨π¦
π¦ where this page comes from
- ubuntu stonking: libmetacpan-client-perl 2.044000-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms