http://qs321.pair.com?node_id=208955


in reply to Re: $functions xor $methods
in thread $functions xor $methods

Only problem is that it requires a hardcoded 'parent' value (unless theres some way to return that?)
sub AUTOLOAD { if(defined &{__PARENT__::$AUTOLOAD}) { goto &{__PARENT__::$AUTOLOAD} } }
(note i left out the part about getting the right value in $AUTOLOAD, chopping out the package and stuff)