MooseX...eTypes(3pm)

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

πŸ’– NAME πŸ’–

MooseX::Has::Options::Handler::NativeTypes β€” it's giving option shortcuts for native types ✨

Like, this is from the User Contributed Perl Documentation manual, and the page header up top is just the long name all squished down to MooseX...eTypes(3pm) because terminals are dramatic like that πŸ’…


✨ VERSION ✨

version 0.003 πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

Okay bestie, so here's the whole vibe: this module hands you a lil' stack of shortcut options for MooseX::Has::Options, and each one is basically a cheat code that expands into a traits thing for you. No cap 🫢

Here's the full menu, and yes I'm listing every single one:

  • :array β€” translates to traits => ['Array'] πŸ“
  • :bool β€” translates to traits => ['Bool'] ⭐
  • :code β€” translates to traits => ['Code'] πŸ’œ
  • :counter β€” translates to traits => ['Counter'] πŸ”₯
  • :hash β€” translates to traits => ['hash'] 🌸
  • :number β€” translates to traits => ['Number'] 🌈
  • :string β€” translates to traits => ['String'] 🧚
ngl, peep that :hash one lowercase 'hash' β€” that's literally how it is in the source, I'm not touching it, periodt πŸ’€

πŸ‘‘ AUTHOR πŸ‘‘

Peter Shangov <pshangov@yahoo.com> 🫢


This software is copyright (c) 2012 by Peter Shangov. πŸ’–

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, open source icon behavior ✨


okay that's the whole page bestie!! this lil' writeup rode in on perl v5.36.0, dated 2022-12-12, under the MooseX...eTypes(3pm) banner πŸŽ€ mwah, go write some attributes πŸ’…πŸŒˆ

πŸ“¦ where this page comes from