GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Mo::Features(3) User Contributed Perl Documentation Mo::Features(3)

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 Mo::default, etc, and have them modify your Mo reality.

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

Add "builder" feature to "has".
Add "chain" feature to "has".
Add "coerce" feature to "has".
Add "default" feature to "has".
Exporter for Mo::Inline usage. Only works with inlined Mo.
Finalizer for Mo::Inline usage. Only works with inlined Mo.
Add "is" feature to "has".
Use Moose in place of Mo for everything.
Use Mouse in place of Mo for everything.
Add "option" feature to "has".
Add "required" feature to "has".
Use XS modules to make things faster.

Requires Class::XSAccessor.

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

Exports the XXX functions for debugging. Handy!

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 Mo::Hacking.

2016-07-06 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.