Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

oo - syntactic sugar for Moo oneliners

Authors

See Moo for authors.

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.

Name

oo - syntactic sugar for Moo oneliners

Support

See Moo for support and contact information.

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'

See Also