|
|
Subscribe / Log in / New account

Moose

Moose

Posted Mar 23, 2012 13:45 UTC (Fri) by jnareb (subscriber, #46500)
In reply to: Moose by dskoll
Parent article: Perl 5.16 and beyond

There are varius lighter-weight (but more limited) versions of Moose (or rather Moose-compatibile object systems): Mouse, Moo, Mo, and there is build time equivalent Mite.


to post comments

Moose

Posted Mar 23, 2012 23:05 UTC (Fri) by dskoll (subscriber, #1630) [Link] (2 responses)

Well, yeah, but let's say you want to use CPAN modules X, Y, Z and W. If X wants Moose, Y wants Mouse, Z wants Moo and W wants Mo, you end up with Mess. :(

Moose

Posted Mar 27, 2012 20:13 UTC (Tue) by jnareb (subscriber, #46500) [Link] (1 responses)

Well, yeah, but let's say you want to use CPAN modules X, Y, Z and W. If X wants Moose, Y wants Mouse, Z wants Moo and W wants Mo, you end up with Mess. :(
Well, there are Any:Moose, Any::Mo modules. For example if you use Any::Mo you are limited to what Mo can do, but you can use any of Mo, Moo, Mouse, Moose which can implement this subset of OOP.

Moose

Posted Mar 29, 2012 3:11 UTC (Thu) by harbud (guest, #83808) [Link]

No, the problem is I cannot control what X, Y, Z, and W uses. X might use Moose specifically and not Any::Moose, Y might use Mouse, and so on.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds