|
NAMEoo - syntactic sugar for Moo onelinersSYNOPSISperl -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' DESCRIPTIONoo.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.SUPPORTSee Moo for support and contact information.AUTHORSSee Moo for authors.COPYRIGHT AND LICENSESee Moo for the copyright and license.
Visit the GSP FreeBSD Man Page Interface. |