Subject: | SYNOPSIS doesn't print what it says it would print. |
Hi,
I would like to thank you for such a valuable module. I have a request
to fix the code in the SYNOPSIS as it doesn't do what it says.
I reckon if we pass 'D' instead of 'Diamond_D' to the method
Class::C3::calculateMRO() then it should print what you expect it to
except that it also add 'Exporter' in the hierarchy after 'B'. Whether
it is expected behaviour or not, I have no clue.
Replace the following line:
print join ', '=>Class::C3::calculateMRO('Diamond_D') # prints D,B,C,A
with
print join ', '=>Class::C3::calculateMRO('D') # prints D,B,Exporter,C,A
Many Thanks.
Best Regards,
Mohammad S Anwar