in reply to How to call AUTOLOAD before @ISA?
Sorry, I'm not sure if that exact code will work; I'm still learning about subroutine handling in classes, sub-references, etc... But the idea is there, at least. Hope that helps?package B; foreach $autoload_handled ( 'doit', 'dothis', 'dothat' ) { \&{ $autoload_handled } = \&AUTOLOAD; }
|
|---|