Keep It Simple, Stupid | |
PerlMonks |
Re: How to dynamically load modulesby lachoy (Parson) |
on May 03, 2005 at 15:46 UTC ( [id://453646]=note: print w/replies, xml ) | Need Help?? |
The CPAN module Class::Factory encapsulates all this for you -- just tell your factory about the different implementations and type associated with each, then pass that type to the factory when you want a new object. Chris
In Section
Seekers of Perl Wisdom
|
|