http://www.perlmonks.org?node_id=280560


in reply to Re: Prettified Perl Inheritance
in thread Prettified Perl Inheritance

Hmm, I haven't done any testing with diamond inheritance. I know that I setup the code to not follow an inheritance tree more than once, so it wouldn't get into infinite loops.

The reason I didn't use %INC for testing whether a module was loaded was because I wanted to record which module had loaded it first (well, in the tree-scheme of things :) and didn't really care where the file existed.

Thanks for the tip (and thanks to PodMaster for his) regarding the graphing modules.