On Fri, Apr 10, 2009 at 3:11 PM, Rodrigo <rodrigol...@gmail.com> wrote: >> >> >> The code I woud like to migrate to Moose uses the factory pattern in >> several classes. So, is there a Moose-way to >> implement a factory class ? >> >> > Rolf, I recommend you take a look at the MooseX::IOC module, and the whole > IOC suite for that matter, as they may serve your purposes. > > http://search.cpan.org/~stevan/MooseX-IOC-0.02/lib/MooseX/IOC.pm<http://search.cpan.org/%7Estevan/MooseX-IOC-0.02/lib/MooseX/IOC.pm> >
Actually I think MX::IOC has been deprecated by Bread::Board, which roughly does the same thing in a totally different fashion. -Chris