|
Posted by Mark Clements on June 30, 2007, 8:58 am
Please log in for more thread options
xor wrote:
> Hi,
>
> I am looking for a module, to make a base class module, that
> automatically loads sub class modules.
>
> Usually, to make a new Digest::MD5.pm module instance, you type
>
> $inst = Digest::MD5->new(@args);
>
> But, the Digest.pm module, let us type
>
> $inst = Digest->MD5(@args);
> $inst = Digest('MD5' => @args);
>
<snip>
How about Module::Pluggable?
http://search.cpan.org/~simonw/Module-Pluggable-3.6/lib/Module/Pluggable.pm
Mark
|