oo(3) User Contributed Perl Documentation oo(3)
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, intended for use on the command line via
the -M option.
SUPPORT
See Moo(3) for support and contact information.
AUTHORS
See Moo(3) for authors.
COPYRIGHT AND LICENSE
See Moo(3) for the copyright and license.
perl v5.34.1 2021-01-12 oo(3)
moo 2.5.5 - Generated Mon Aug 4 13:38:48 CDT 2025
