perloopmoosemop

Is this a good alternative to Moose Perl?


I have been a searching for alternative to Moose (Modern object-oriented Perl) Because Moose is slow I have seen several post relation to this issue, I not want that. Example from the same creator: https://www.youtube.com/watch?v=ugEry1UWg84&feature=youtu.be&t=260

So I found this alternative from the same creator of moose:

https://metacpan.org/pod/MOP#DESCRIPTION MOP - A Meta Object Protocol for Perl 5

This module implements a Meta Object Protocol for Perl 5 with minimal overhead and no non-core dependencies (eventually).

Work with UNIVERSAL::Object:

https://metacpan.org/pod/UNIVERSAL::Object

Is this a good choice and alternative to Moose, does someone test this software ?

Related post: https://www.perlmonks.org/?node_id=1220917

Thanks.

Note: I forget to mention I know about Moo, Mouse, etc, maybe exist something better ?


Solution

  • MOP is very low level, Moxie is based on it; but it's still a proof of concept.

    There are faster and lighter alternatives that have been tested in production: Moo and Mouse.