Classes are package names into which objects are blessed.
There's no language support for class variables, though. You can place class data in package variables or in captured lexical variables, and the data will be scoped as per those variables.
In both cases I mentioned, the variables will last until global destruction.
In reply to Re: Class data scope?
by ikegami
in thread Class data scope?
by leocharre
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |