oo(3pm) User Contributed Perl Documentation oo(3pm) 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 for support and contact information. AUTHORS See Moo for authors. COPYRIGHT AND LICENSE See Moo for the copyright and license. perl v5.20.1 2014-08-17 oo(3pm)
Czas wygenerowania: 0.00030 sek.
Created with the man page lookup class by Andrew Collington.
Based on a C man page viewer by Vadim Pavlov
Unicode soft-hyphen fix (as used by RedHat) by Dan Edwards
Some optimisations by Eli Argon
Caching idea and code contribution by James Richardson
Copyright © 2003-2023 Linux.pl
Hosted by Hosting Linux.pl