local

::obj::local $class
returns newly created instance of class $class, and manages that on leaving current stack frame, this instance is destroyed. (This is done by setting a local variable and trace unsetting of this var name.)

Example:

% ::obj::local line
::obj::inst::14
%

No Software Patents

| Home | Sitemap | A-Z