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. 🫑

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