Subject: | __PACKAGE__->meta->make_immutable not documented |
The documentation says:
| Finally, Moose requires you to call
|
| __PACKAGE__->meta->make_immutable;
|
| at the end of your class to get an inlined (i.e. not horribly slow)
| constructor. Moo does it automatically the first time ->new is called
| on your class.
It should also mention that explicitly calling
'__PACKAGE__->meta->make_immutable;' is still valid under Moo (and does
nothing). This is important to know if you want to write code that works
under both Moo and Moose.