Mason:...::Role(3pm)

πŸ“¦
version 2.24 Β· 2 versions
  • 2.24 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 2.24 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– Mason::Moose::Role πŸ’–

okay bestie, welcome to Mason::Moose::Role β€” the little Perl module (from the Mason docs fam, section 3pm) whose whole job is Mason Moose role policies. that's it. that's the name. short, sweet, iconic. ✨


🌸 SYNOPSIS 🌸

so like, instead of doing the normal Moose thing, you do this instead:

# instead of use Moose::Role;
use Mason::Moose::Role;

literally just swap the line and you're done. slay. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea: this module flips on certain Moose behaviors for Mason's internal roles. it's not doing anything mysterious, it's just being your little setup bestie. 🫢

using this module is equivalent to writing out both of these yourself:

use Moose::Role;
use Method::Signatures::Simple;

no cap, that's the whole vibe. it's giving "convenience wrapper" and we love that for it. πŸ‘‘


πŸ‘€ SEE ALSO πŸ‘€

  • Mason β€” go say hi to the main character, iykyk πŸ’œ

✨ AUTHOR ✨

Jonathan Swartz <swartz@pobox.com> β€” ty king, we appreciate you πŸŽ€


This software is copyright (c) 2012 by Jonathan Swartz.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. fr fr, go wild, it's free. 🌈


and that's the whole page, bestie! this gem was documented under perl v5.34.0 and last touched on 2022-05-27 β€” so if you're reading this, hi from the past, mwah πŸ’‹πŸ’–
πŸ“¦ where this page comes from