LWN.net Logo

Moose

Moose

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

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.


(Log in to post comments)

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 © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds