Skip Menu |

This queue is for tickets about the Class-C3 CPAN distribution.

Report information
The Basics
Id: 78327
Status: resolved
Priority: 0/
Queue: Class-C3

People
Owner: Nobody in particular
Requestors: MANWAR [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.24
Fixed in: 0.25



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
Fixed, thanks for reporting.
This is on CPAN now. Cheers!