Mo Features


Mo Features

Mo is absolutely minimal, but it let's you easily add many features like this:

    use Mo qw[default builder other features];

This will load the modules the Mo::default manpage, etc, and have them modify your Mo reality.

Here's a list of the current feature modules that ship with Mo:

the Mo::builder manpage
Add builder feature to has.

the Mo::chain manpage
Add chain feature to has.

the Mo::coerce manpage
Add coerce feature to has.

the Mo::default manpage
Add default feature to has.

the Mo::exporter manpage
Exporter for the Mo::Inline manpage usage. Only works with inlined Mo.

the Mo::import manpage
Finalizer for the Mo::Inline manpage usage. Only works with inlined Mo.

the Mo::is manpage
Add is feature to has.

the Mo::Moose manpage
Use Moose in place of Mo for everything.

the Mo::Mouse manpage
Use Mouse in place of Mo for everything.

the Mo::option manpage
Add option feature to has.

the Mo::required manpage
Add required feature to has.

the Mo::xs manpage
Use XS modules to make things faster.

Requires the Class::XSAccessor manpage.

There are also feature modules that ship outside of the Mo distribution. You can search CPAN, but here's a starter list:

the Mo::xxx manpage
Exports the XXX functions for debugging. Handy!


NOTE

Don't assume that all feature modules will work together. Sometimes the order you specify them in may affect how they work together. Read the feature docs and test your assumptions.

We continue to make more and more things work together, and when they don't we try to document it. Let us know if you feel like something critical is broken. See the Mo::Hacking manpage.

 Mo Features