in reply to Re: Solving the SUPER problem in Mixins with String Eval
in thread Solving the SUPER problem in Mixins with String Eval
When you call $obj->SUPER::foo you're actually calling the function SUPER::foo, which is caught by something like an AUTOLOAD. NEXT works the same way, except that it actually IS an AUTOLOAD that does the catching.
Therefore if you wish to retarget SUPER::foo, you can write a SUPER::foo function and it will happen. But you'll catch everyone's SUPER::foo, so program carefully...
|
|---|