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.In reply to Re: Re: Prettified Perl Inheritance
by Kageneko
in thread Prettified Perl Inheritance
by Kageneko
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |