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
In reply to Re: "our" versus "my" for class data
by bgreenlee
in thread "our" versus "my" for class data
by mp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |