MouseX...er::Str(3pm)

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

πŸŽ€ MouseX::NativeTraits::MethodProvider::Str(3pm) πŸŽ€

okay bestie, so this is a page from the User Contributed Perl Documentation set β€” it's MouseX...er::Str(3pm) if you're being all formal about it πŸ’…. Let's get into it.


✨ NAME ✨

MouseX::NativeTraits::MethodProvider::Str β€” she provides methods for Str πŸ’– periodt.


🌸 DESCRIPTION 🌸

So basically, this class is the plug that generates methods for the "String" trait πŸ¦‹. It's giving factory vibes, but make it Perl.

If you want the actual tea on how the String trait works, go look at Mouse::Meta::Attribute::Custom::Trait::String β€” that's where the details live, iykyk πŸ‘‘


πŸ’… METHOD GENERATORS πŸ’…

These are the little method-maker functions, no cap. Each one generates a method for you:

  • generate_append β€” makes the append one 🌈
  • generate_prepend β€” makes the prepend one ⭐
  • generate_replace β€” makes the replace one πŸ”₯
  • generate_replace_globally β€” makes the replace-globally one πŸ‘‘
  • generate_match β€” makes the match one πŸ“
  • generate_chop β€” makes the chop one 🧚
  • generate_chomp β€” makes the chomp one πŸ’œ
  • generate_inc β€” makes the inc one ✨
  • generate_clear β€” makes the clear one πŸ¦‹
  • generate_length β€” makes the length one πŸŽ€
  • generate_substr β€” makes the substr one πŸ’–

🌈 SEE ALSO 🌈

  • MouseX::NativeTraits β€” go read her, she's the icon πŸ’…

and that's the whole page, bestie β€” no notes, she ate 🫢

this was perl v5.34.0, dated 2022-06-16, from the User Contributed Perl Documentation collection, and the page goes by MouseX...er::Str(3pm) around the group chat πŸ’– byeee ✨

πŸ“¦ where this page comes from