in reply to How to use Inheritance with Inside-Out Classes and Hash Based Classes
You just hit the problem with inheritance - you're extending the class, which means you're tied to its implementation details.
My criteria for good software:
You might want to look at delegation. Basically, you would contain a File::Samba object and you forward any method you don't override to it. Take a look at Tree::Compat for an example.
My criteria for good software:
- Does it work?
- Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
In Section
Seekers of Perl Wisdom