MouseX...HashRef(3pm)

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

✨ MouseX::NativeTraits::MethodProvider::HashRef πŸ’…

okay bestie, gather round, because this is the manual page for MouseX::NativeTraits::MethodProvider::HashRef β€” the module that's out here providing methods for HashRef, and honestly? it's giving backstage crew energy. nobody claps for it but the whole show does not happen without it. πŸŽ€


🌸 NAME 🌸

MouseX::NativeTraits::MethodProvider::HashRef β€” Provides methods for HashRef πŸ’–

like. that's the whole job description. it provides methods. for a HashRef. and it does it flawlessly. πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea β˜• β€” this class is the plug that hands out the method generators for the "Hash" trait. it's not the trait itself, it's the method-making machinery behind the trait. the main character in this story is Hash, and this module is the stylist, the makeup artist, and the lighting crew combined. ✨

if you want the actual deets, the full lore lives in Mouse::Meta::Attribute::Custom::Trait::Hash. go read that for details, no cap. πŸ“–


πŸ’– METHOD GENERATORS πŸ’–

every single one of these bad boys, in order, because we do not skip. we do not abbreviate. we list all of them. periodt. πŸ’…

  • generate_keys 🌸
  • generate_sorted_keys πŸ“
  • generate_values πŸ¦‹
  • generate_kv πŸ’œ
  • generate_elements ⭐
  • generate_count πŸ”’
  • generate_is_empty πŸ«™
  • generate_exists πŸ‘€
  • generate_defined βœ…
  • generate_fetch 🎣
  • generate_get β€” the same as "generate_fetch". yes, literally. same vibe, different name. it's giving twins who dress identically on purpose. πŸ‘―
  • generate_store πŸ“¦
  • generate_set β€” the same as "generate_store". again!! matching set, iconic behaviour, we love consistency. πŸ’–
  • generate_accessor πŸ”‘
  • generate_clear 🧹
  • generate_delete πŸ—‘οΈ
  • generate_for_each_key πŸ”
  • generate_for_each_value πŸ”‚
  • generate_for_each_pair πŸŽ€

🌈 SEE ALSO 🌈

  • MouseX::NativeTraits β€” go say hi, it's the whole squad 🫢

a tiny note from me to you: generate_get and generate_set are not new powers, bestie. they're the same thing as generate_fetch and generate_store. don't go writing docs that claim otherwise, i'm watching. πŸ™ˆ

and that's the whole page!! 🌟 this was pulled from perl v5.34.0, dated 2022-06-16 β€” so yeah, a little vintage, but vintage is just thrifted and thrifted is always a slay. πŸ§šπŸ’œ bye bestie, go build something cute!! πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from