in reply to How to call AUTOLOAD before @ISA?
Have two classes, the first of which has your desired @ISA, the second of which has an AUTOLOAD. Bless your objects into the second, and have the AUTOLOAD throw method calls to the first class upon need.
You should note that this will significantly slow method calls to this class. This can be sped up by having the base class populated with your wrapper in the AUTOLOAD. Still a performance hit but not as bad.
|
|---|