in reply to Re: AUTOLOAD functions & inheritence
in thread AUTOLOAD functions & inheritence

I tried to do a simmilar thing with SUPER::.
if ( handle this ) { eval "sub $AUTOLOAD {}"; goto &$AUTOLOAD } else { goto &{"SUPER::$fname"}; }
I didn't want to presume which parent function to call. -Sean.

Replies are listed 'Best First'.
RE: RE: Re: AUTOLOAD functions & inheritence
by Anonymous Monk on Mar 30, 2000 at 03:05 UTC
    I tried to do a simmilar thing with SUPER::.

    if ( handle this ) { eval "sub $AUTOLOAD {...}"; goto &$AUTOLOAD } else { goto &{"SUPER::$fname"}; }

    I didn't want to presume which parent function to call.


     
    -Sean.