Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: How to decide which implementation to use?by rvosa (Curate) |
on Feb 26, 2006 at 08:54 UTC ( [id://532853]=note: print w/replies, xml ) | Need Help?? |
I would say:
A list or arrayref containing all the implementations for this interface. I think the callee has no business trying to second-guess the caller. The caller will have to decide which one it wants. I'm working on something similar (though we use 'registry' for what you call 'kernel', and 'service' for 'agent') and to me it seemed more natural that way.
In Section
Seekers of Perl Wisdom
|
|