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?? |
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" :-)
In Section
Meditations
|
|