When I first looked at Mo I thought it was a joke. Then I saw the contributors, and the half-dozen or so modules on CPAN that are already using it. Then I gave it a test drive, and I'm really impressed. It does a lot with such a tiny footprint.
I'll be using Moose for my application, but for scripts where a quick startup time is a must (such as dev-ops-ish scripts run by humans, or scripts that are run many times in one go) I'll be turning to Mo in the future.
As long as I'm here I'd like to add a wishlist item: Supporting isa ala Moo with coderefs.
2 out of 3 found this review helpful. Was this review helpful to you? Yes No
To respond to Blue's review: the actual source to Mo.pm can be found in src/ in the repository:
The Makefile in src/ uses Mo::Golf::golf() to minify the source of Mo itself before it is released on the CPAN.
3 out of 3 found this review helpful. Was this review helpful to you? Yes No
Documentation is lacking on the rationale for this module and why it should be used over the many, many other alternatives. Also, the source code is unreadable line noise.
8 out of 12 found this review helpful. Was this review helpful to you? Yes No
This is like a nano-Moose. As proposed in the docs, I inlined this code in a little CGI script and then had the convenience to create throw-away classes that don't need have have more than some accessors and methods.
And could do it in Moose style. Very nice!
I'll use Mo instead of Object::Tiny in new few-liners with this one as it offers a nice upgrade path to Moose.
7 out of 11 found this review helpful. Was this review helpful to you? Yes No