in reply to Re^4: Sharing and over-riding package functions
in thread Sharing and over-riding package functions
My Function::Base and Function::Alternate are equivalent to your initial modules with some tweaking, yes. However, if you then use Function as a container for the functions you want you can mix and match at will - that's what I meant by a function suite.
Nice observation regarding the inheritance problem. You can actually cover that case in OOP since you have a prototype to make sure you call the correct module - perltoot taught me a lot.
|
|---|