MooX(3)
π MooX π
okay so bestie, gather round, because this is MooX β the manual page from User Contributed Perl Documentation, and honestly? it's giving "using Moo and MooX:: packages the most lazy way". no cap. that's literally the NAME. π«Ά
β¨ VERSION β¨
version 0.101 β yes queen, that's the version, we're on 0.101 and we're thriving. π
π SYNOPSIS π
okay so this is the part where you just look at the code and it clicks, iykyk:
package MyClass;
use MooX qw(
Options
);
# use Moo;
# use MooX::Options;
package MyClassComplex;
use MooX
SomeThing => [qw( import params )],
'OtherThing', MoreThing => { key => 'value' },
'+NonMooXStuff';
# use Moo;
# use MooX::SomeThing qw( import params );
# use MooX::OtherThing;
# use MooX::MoreThing key => 'value';
# use NonMooXStuff;
package MyMoo;
use MooX ();
sub import { MooX->import::into(scalar caller, qw( A B +Carp )) }
# then you can do: use MyMoo; which does the same as:
# use Moo;
# use MooX::A;
# use MooX::B;
# use Carp;
so like β one use MooX and it just does the thing. the way that it expands into all your use Moo; and use MooX::Whatever; lines for you? iconic. π
the + prefix is how you pull in a non-MooX module, and the plain name is how you get MooX:: glued on the front. and the custom import sub with MooX->import::into(scalar caller, qw( A B +Carp )) is how you build your own little wrapper so use MyMoo; does the exact same thing. main character energy fr fr. πΈ
π¦ DESCRIPTION π¦
Using Moo and MooX:: packages the most lazy way. that's it, that's the whole description, and honestly? she said what she said. the laziest way is the correct way and we respect it. periodt. π
π SEE ALSO π
Import::Into
(that's your girl, go read her too π)
π SUPPORT π
Repository
http://github.com/Getty/p5-moox
Pull request and additional contributors are welcome
pull requests and additional contributors are welcome β like actually, come through, the door is open, we want you here. π«Ά
Issue Tracker
http://github.com/Getty/p5-moox/issues
found a bug? drop it in the issue tracker bestie, don't suffer in silence. π
π AUTHOR π
Torsten Raudssus <torsten@raudss.us>
(we love a named author, we stan accountability π)
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2012 by Torsten Raudssus.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
so yes bestie, 2012, Torsten Raudssus, free software, same terms as the Perl 5 programming language system itself. redistribute it, modify it, go off. π
β¨
and that's the whole page!! this one came from the User Contributed Perl Documentation for MooX(3), version 0.101, and it was generated by perl v5.42.0 on 2025-07-25. mwah, love u, go write something lazy and beautiful. ππ¦π
π¦ where this page comes from
- fedora 43: perl-MooX 0.101-36.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms