local $Exporter::ExportLevel = $Exporter::ExportLevel + 1;
&Exporter::import;
I don't really like playing with a global hack like that, but it's limited in scope and Class::InsideOut still passes all its tests.
Let me know if that works for you with DProf and if it does, I'll release it as Class::InsideOut 1.10
-xdg
Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.
|