Moose:...Indexed(3pm)

πŸ“¦
version 0.16 Β· 4 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ NAME ✨</p>

Moose::Autobox::Indexed β€” bestie, it's the Indexed role πŸ’…

This page is from the User Contributed Perl Documentation collection, and the manual is called Moose:...Indexed(3pm) πŸŽ€


🌸 VERSION 🌸

version 0.16 β€” yes, she's a real one, she's versioned, she's 0.16 ⭐


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so. This is a role, and what it does is describe a collection whose values can be accessed by a key of some kind. That's the whole vibe. A bag of stuff, and you get at the stuff with a key πŸ”‘

And like β€” she's entirely abstract. Not a single method is provided for you. Whoever implements this role has to supply all of its methods themselves. No hand-holding, no defaults, no freebies πŸ™ˆ

Currently, these two iconic queens implement this role:

  • Moose::Autobox::Array πŸ“
  • Moose::Autobox::Hash 🧚

πŸ’– METHODS πŸ’–

  • meta β€” the meta thing. That's it, that's the whole entry πŸ’€

πŸ‘‘ REQUIRED METHODS πŸ‘‘

these are the ones you must bring to the function, no cap:

  • at
  • put
  • exists
  • keys
  • values
  • kv
  • slice
  • each
  • each_key
  • each_value

🫢 SUPPORT 🫢

Found a bug? bugs may be submitted through the RT bug tracker <https://rt.cpan.org/Public/Dist/Display.html?Name=Moose-Autobox> (or you can email bug-Moose-Autobox@rt.cpan.org <mailto:bug-Moose-Autobox@rt.cpan.org>). Go off, report it, they wanna hear it πŸ“¬

There's also a mailing list for users of this distribution, right here: <http://lists.perl.org/list/moose.html> πŸ’Œ

And there's an irc channel for users of this distribution too: #moose on irc.perl.org <irc://irc.perl.org/#moose>. Come hang out, iykyk 🌈


πŸ’œ AUTHOR πŸ’œ

Stevan Little <stevan.little@iinteractive.com> β€” the author, the moment, the main character πŸ‘‘


This software is copyright (c) 2006 by 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 πŸ’…


fr fr, that's the whole page. go implement those ten methods bestie, the role is counting on you 😭

signing off from perl v5.34.0, dated 2022-06-15, on the Moose:...Indexed(3pm) page β€” mwah, bye πŸ¦‹βœ¨

πŸ“¦ where this page comes from