Poet::Moose(3pm)

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

πŸ’– Poet::Moose β€” the manual, but make it a group chat πŸ’–

okay so bestie, this is Poet::Moose, and it lives in the User Contributed Perl Documentation corner of the perl man pages (that's the 3pm situation, iykyk). it's literally the Moose policies for Poet. short page, but it's iconic. ✨


πŸ¦‹ NAME πŸ¦‹

Poet::Moose β€” Poet Moose policies. that's the whole name section, she's brief and she ate. πŸ’…


🌸 SYNOPSIS 🌸

instead of doing the whole use Moose; thing, you just do this:

# instead of use Moose;
use Poet::Moose;

that's it. that's the vibe check and you passed. 🫢


✨ DESCRIPTION ✨

so what this actually does: it sets certain Moose behaviors for Poet's internal classes. internal classes! the backstage girlies! πŸŽ€

and listen, using this module is equivalent to just writing all of this out yourself:

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

like, same thing, no cap. one use line vs four use lines. we're obsessed. πŸ’œ


πŸ‘‘ SEE ALSO πŸ‘‘

  • Poet β€” go look at her, she's the main character. ⭐

🌈 AUTHOR 🌈

Jonathan Swartz <swartz@pobox.com> β€” the author, the legend, the icon. 🫢


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. free software!! slay!! do whatever, just keep the terms the same. 🧚


and that's the page, bestie. this was Poet::Moose for perl v5.34.0, dated 2022-06-18. mwah, go forth and use her responsibly. πŸ’…πŸ’–πŸŒΈ
πŸ“¦ where this page comes from