|
|
| The stupid question is the question not asked | |
| PerlMonks |
Re: How to dynamically load modulesby lachoy (Parson) |
| on May 03, 2005 at 11:46 UTC ( [id://453646]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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
|
|
||||||||||||||||||||||||