in reply to Re: OOP introspection
in thread OOP introspection

Aside from the reliance on a predictably-named constructor (->new), this also implicitly assumes single inheritance. I'm not sure that there's any practical way to get all the ancestors in a multiple-inheritance scenario other than iterating the @ISAs.

Replies are listed 'Best First'.
Re^3: OOP introspection
by perlfan (Parson) on Apr 03, 2021 at 15:21 UTC
    I didn't consider multiple inheritenace. I suppose I need to play with SUPER to see what it does in that case.