in reply to "our" versus "my" for class data
That's the way I would do it. I wouldn't use 'our' for class variables because I tend to be fairly strict about my OO and believe that they shouldn't be accessed directly from outside the module (use some form of get/set methods if you need external access). And there aren't any memory leaks doing it either way, AFAIK.
Brad
|
---|