1Mo::Features(3)       User Contributed Perl Documentation      Mo::Features(3)
2
3
4

Mo Features

6       Mo is absolutely minimal, but it let's you easily add many features
7       like this:
8
9           use Mo qw[default builder other features];
10
11       This will load the modules Mo::default, etc, and have them modify your
12       Mo reality.
13
14       Here's a list of the current feature modules that ship with Mo:
15
16       Mo::builder
17           Add "builder" feature to "has".
18
19       Mo::chain
20           Add "chain" feature to "has".
21
22       Mo::coerce
23           Add "coerce" feature to "has".
24
25       Mo::default
26           Add "default" feature to "has".
27
28       Mo::exporter
29           Exporter for Mo::Inline usage. Only works with inlined Mo.
30
31       Mo::import
32           Finalizer for Mo::Inline usage. Only works with inlined Mo.
33
34       Mo::is
35           Add "is" feature to "has".
36
37       Mo::Moose
38           Use Moose in place of Mo for everything.
39
40       Mo::Mouse
41           Use Mouse in place of Mo for everything.
42
43       Mo::option
44           Add "option" feature to "has".
45
46       Mo::required
47           Add "required" feature to "has".
48
49       Mo::xs
50           Use XS modules to make things faster.
51
52           Requires Class::XSAccessor.
53
54       There are also feature modules that ship outside of the Mo
55       distribution. You can search CPAN, but here's a starter list:
56
57       Mo::xxx
58           Exports the XXX functions for debugging. Handy!
59

NOTE

61       Don't assume that all feature modules will work together. Sometimes the
62       order you specify them in may affect how they work together. Read the
63       feature docs and test your assumptions.
64
65       We continue to make more and more things work together, and when they
66       don't we try to document it. Let us know if you feel like something
67       critical is broken.  See Mo::Hacking.
68
69
70
71perl v5.32.0                      2020-07-28                   Mo::Features(3)
Impressum