oo(3)
π
oo(3) β syntactic sugar for Moo oneliners π
okay so bestie, this is the oo(3) manual page, and it's giving microscopic but iconic. Let's go. β¨
πΈ NAME πΈ
oo β syntactic sugar for Moo oneliners
π¦ SYNOPSIS π¦
perl -Moo=Foo -e 'has bar => ( is => q[ro], default => q[baz] ); print Foo->new->bar'
# loads an existing class and re-"opens" the package definition
perl -Moo=+My::Class -e 'print __PACKAGE__->new->bar'
π DESCRIPTION π
oo.pm is a simple source filter that adds package $name; use Moo; to the beginning of your script, and it's meant for use on the command line via the -M option. That's literally the whole vibe: tiny sugar, big slay. π
π«Ά SUPPORT π«Ά
See Moo for support and contact information. iykyk π
π AUTHORS π
See Moo for authors. π«‘
π COPYRIGHT AND LICENSE π
See Moo for the copyright and license. no cap, that's the whole section. β¨
okay bye bestie, this page is from perl v5.42.0 and dated 2023-01-06 β oo(3) says mwah ππ
π¦ where this page comes from
- opensuse-leap 16.0: perl-Moo 2.005005-bp160.1.12 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms