If it follows a pattern that can be automatically wrapped into an OO fashion, you can create an automatic wrapper based on AUTOLOAD (see perlsub).
Instead of magically inheriting from one class or another, it might be easier to have an attribute that stores the device driver in question, and then work with delegation from there on.
In reply to Re: Inheritance based on input
by moritz
in thread Inheritance based on input
by cbanker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |