Mason::Moose(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(3pm) πŸ’–

okay bestie, so this page is from the User Contributed Perl Documentation collection, and it's all about Mason::Moose β€” Mason's very own Moose policies ✨. it's short, it's sweet, it's giving "small module, big main character energy" πŸŽ€


🌸 NAME 🌸

Mason::Moose β€” Mason Moose policies πŸ’…

like. it does what it says on the tin. no cap.


✨ SYNOPSIS ✨

so instead of just doing use Moose;, you do this instead:

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

that's it. that's the whole vibe. iconic honestly 🫢


πŸ’« DESCRIPTION πŸ’«

okay so Mason::Moose sets certain Moose behaviors for Mason's internal classes πŸ‘‘. it's basically a little bundle that configures Moose the way Mason likes it.

and here's the thing β€” using this module is equivalent to writing out all of this yourself:

    use CLASS;
    use Moose;
    use MooseX::HasDefaults::RO;
    use MooseX::StrictConstructor;
    use Method::Signatures::Simple;

so yeah, it's a shortcut. one line instead of five. the way that saves you keystrokes?? obsessed 😭✨


πŸ” SEE ALSO πŸ”

  • Mason β€” go read that one too, bestie πŸ’œ

πŸ‘‘ AUTHOR πŸ‘‘

Jonathan Swartz <swartz@pobox.com> πŸ’Œ


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. 🌈


lowkey important note for the copyright girlies: it's free software, you can redistribute and/or modify it, but the terms are exactly the same as the Perl 5 programming language system itself. periodt. πŸ’…

okay and finally, the lil sign-off: this page lives with perl v5.34.0 and was dated 2022-05-27 πŸ—“οΈβœ¨ so when you're reading this, know that's where it came from, bestie. bye ily πŸ’–πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from