Skip Menu |

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

Report information
The Basics
Id: 31987
Status: resolved
Priority: 0/
Queue: Class-MOP

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

Bug Information
Severity: (no value)
Broken in: 0.50
Fixed in: (no value)



Subject: predicate documentation not aligned with implementation
Class::MOP documentation says: This is a basic test to see if the value of the attribute is not undef. It will return true (1) if the attribute's value is defined, and false (0) otherwise. Talking to nothingmuch in IRC this ended up to be wrong, and should read something like: This is a basic test to see if any value has been set for the attribute. It will return true (1) if the attribute has been set to any value (even undef), and false (0) otherwise. Maybe it could also be pointed out that this behaviour changed since... I don't know which version of Class::MOP. And also provide those useful insight about clearer that nothingmuch kindly explained to me in IRC. Regards, Flavio.