Data::...:Attrs(3pm)
π Data::DPath::Attrs β bestie edition π
okay so this is Data::DPath::Attrs, a Perl module (it's the <pink>3pm</pink> kind, aka a manual page, iykyk) that lives in the User Contributed Perl Documentation zone. And what does it do? It's an abstraction for internal attributes attached to a point. That's it, that's the whole vibe. It's giving backstage-pass energy for Data::DPath internals. β¨
β¨ INTERNAL METHODS β¨
so these are internal, meaning they're the module's own business, not really your brunch plans. But here's the tea anyway:
newβ the Constructor. The little origin story. It makes the thing. πkeyβ Attribute / accessor. π
The key = the actual hash key under which the point is located, in case it's the value of a hash entry. So like, if your point is chillin' inside a hash, this tells you which key it's vibing under. π
idxβ Attribute / accessor. π¦
The key = the actual array index under which the point is located, in case it's the value of a array entry. So when your point is sitting in a list, this is the lil' number slot it's occupying. Not to be confused with key btw, they're different besties doing different jobs. π
π AUTHOR π
Steffen Schwigon <ss5@renormalist.net> β the icon who made this happen. Periodt. π«Ά
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2024 by Steffen Schwigon.
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 yes bestie, it's free software, go wild, just keep the same terms. π
ngl there's not a ton here, but that's because it's an internal module β lowkey humble, highkey doing its job. No cap. π
and that's the whole page, fr fr. this manual page is perl v5.40.0, dated 2024-10-05 β so like, shoutout to that version and that day, they ate and left no crumbs. πβ¨π bye bestie, go abstract some attributes π§
π¦ where this page comes from
- ubuntu resolute: libdata-dpath-perl 0.60-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libdata-dpath-perl 0.60-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