--- On Fri, 4/10/09, Rodrigo <rodrigol...@gmail.com> wrote:
> From: Rodrigo <rodrigol...@gmail.com>
> Subject: Re: factory class
> To: moose@perl.org
> Date: Friday, April 10, 2009, 3:11 PM
> >
> >
> > 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>
>
> -rodrigo
>
If you go that route, you should check out Bread::Board, which is the Moose
based rewrite of IOC.
John