"be consistent" | |
PerlMonks |
Re: I don't understand UNIVERSAL::DOES()by Anno (Deacon) |
on Mar 08, 2007 at 17:24 UTC ( [id://603865]=note: print w/replies, xml ) | Need Help?? |
The way I understand the description in perldoc UNIVERSAL, you use DOES to implement roles. By overriding DOES in a class to return true for a role (besides UNIVERSAL) tells the system that your class performs that role. Whatever the consequences of that are... I admit I haven't played with the feature.
Anno
In Section
Seekers of Perl Wisdom
|
|