Beefy Boxes and Bandwidth Generously Provided by pair Networks
"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??


in reply to I don't understand UNIVERSAL::DOES()

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://603865]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-03-29 15:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found