Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: In praise of Perl's object system.

by DrHyde (Prior)
on Sep 09, 2010 at 13:00 UTC ( [id://859504]=note: print w/replies, xml ) Need Help??


in reply to In praise of Perl's object system.

An object is a set of data that knows what functions operate on it.

It's not so much that the bunch of data "knows" what functions operate on it, but that the data has some associated functions which it shares with other similar data.

This, of course, leads us to see that an "inside-out object" must be a function with some associated data that it may share with other related functions. We normally call such objects "closures" :-)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-25 19:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found