diff options
author | Dave Rolsky <autarch@urth.org> | 2013-02-19 14:56:35 -0600 |
---|---|---|
committer | Dave Rolsky <autarch@urth.org> | 2013-02-19 14:56:35 -0600 |
commit | a733b0cccc9700063dc0098097b23be2dcbf339d (patch) | |
tree | 1f16f8ba664bd6e854dddb1df2cac5928f2814e3 /pod/perlootut.pod | |
parent | 134d6544c339d9109c2d512ae6c3e0fefce01e99 (diff) | |
download | perl-a733b0cccc9700063dc0098097b23be2dcbf339d.tar.gz |
Add some text on the interoperability of Moose & Moo to perlootut
Diffstat (limited to 'pod/perlootut.pod')
-rw-r--r-- | pod/perlootut.pod | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pod/perlootut.pod b/pod/perlootut.pod index c5b0c913cf..e494f2314e 100644 --- a/pod/perlootut.pod +++ b/pod/perlootut.pod @@ -596,6 +596,15 @@ often faster when loading your modules. Additionally, none of its dependencies require XS, so it can be installed on machines without a compiler. +One of C<Moo>'s most compelling features is its interoperability with +C<Moose>. When someone tries to use C<Moose>'s introspection API on a +C<Moo> class or role, it is transparently inflated into a C<Moose> +class or role. This makes it easier to incorporate C<Moo>-using code +into a C<Moose> code base and vice versa. + +For example, a C<Moose> class can subclass a C<Moo> class using +C<extends> or consume a C<Moo> role using C<with>. + The C<Moose> authors hope that one day C<Moo> can be made obsolete by improving C<Moose> enough, but for now it provides a worthwhile alternative to C<Moose>. |