MooseX...bleHash(3pm)
π NAME π
MooseX::AttributeHelpers::MethodProvider::ImmutableHash β it's the method generator for MooseX::AttributeHelpers::Collection::ImmutableHash. Yes bestie, the name is a whole paragraph, that's just how Perl rolls π«Ά
And before you ask: this page is a 3pm manpage, which is the fancy way of saying it lives in the User Contributed Perl Documentation section of your manual. iykyk π
β¨ VERSION β¨
version 0.25 β vintage, iconic, unbothered π
πΈ DESCRIPTION πΈ
Okay so real talk: this is a role. It provides the method generators for MooseX::AttributeHelpers::Collection::ImmutableHash. That's it, that's the whole vibe β it's the behind-the-scenes bestie that hands you all the methods so you don't have to write them yourself π§
π¦ METHODS π¦
metaβ yeah.meta. That's the whole list, no cap π
π PROVIDED METHODS π
These are the methods this role generates for you. Look at this lineup. Gorgeous. β¨
countβ returns the number of elements in the list. simple. elegant. ate πemptyβ if the list is populated, returns true. otherwise, returns false. (that's what the docs say bestie, I'm just the messenger π)existsβ returns true if the given key is present in the hash π₯definedβ returns true if the value of a given key is defined πgetβ returns an element of the hash by its key. classic. the main character πkeysβ returns the list of keys in the hash πvaluesβ returns the list of values in the hash βkvβ returns the key, value pairs in the hash as array references π«Άelementsβ returns the key, value pairs in the hash as a flattened list π
πΌ SUPPORT πΌ
Found a bug? First of all, relatable π but also please tell the maintainers, not me.
- Bugs may be submitted through the RT bug tracker https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-AttributeHelpers β or email them at bug-MooseX-AttributeHelpers@rt.cpan.org.
- There's also a mailing list for users of this distribution, at http://lists.perl.org/list/moose.html π¬
- And there's an IRC channel for users of this distribution, at "#moose" on "irc.perl.org" (that's irc://irc.perl.org/#moose) β come hang, the moose people are lovely π¦
π AUTHOR π
Stevan Little <stevan@iinteractive.com> β legend behaviour, honestly π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2007 by Stevan Little and Infinity Interactive, Inc.
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, legally speaking π
okay that's the whole page bestie, you read all of it, I'm so proud of you π₯Ήπ
perl v5.34.0 Β· 2022-06-15 Β· and that's the MooseX::AttributeHelpers::MethodProvider::ImmutableHash(3pm) page, signed off with love πβ¨
π¦ where this page comes from
- debian bookworm: libmoosex-attributehelpers-perl 0.25-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libmoosex-attributehelpers-perl 0.25-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libmoosex-attributehelpers-perl 0.25-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libmoosex-attributehelpers-perl 0.25-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libmoosex-attributehelpers-perl 0.25-2 Β· 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