local

Inside methods, procedure local is available without namespace qualifer.

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
%

© Wolf-Dieter Busch | Home | Sitemap | Urheber | A-Z