in reply to Re: Extending object you don't create
in thread Extending object you don't create

If your intent is to subclass HTML::Element, then confusing it about what its superclass is will get you into some interesting trouble. Switching out the superclass impacts all subclasses of HTML::Element, one of which is HTML::Parser

Stick with Plan A.