Mason::Moose(3pm)
π 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> π
π COPYRIGHT AND LICENSE π
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
- debian bookworm: libmason-perl 2.24-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libmason-perl 2.24-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libmason-perl 2.24-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libmason-perl 2.24-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libmason-perl 2.24-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms