[Xotcl] [self class] inside [eval]

Kristoffer Lawson setok at fishpool.com
Mon Sep 6 16:11:29 CEST 2004


On Mon, 6 Sep 2004, Uwe Zdun wrote:

> I would like to make it impossible to call doStuff directly here, as in the 
> example below, but this would
> require changes to the Tcl core or has a performance impact; so we chose to 
> live with the problem that
> procs can be called directly via the namespace

That's fine, just so I know that's not the intended use. Though I still 
think it may be interesting to have a method that would allow access to 
methods and everything in that fashion, but that may not be feasible.

                               / http://www.fishpool.com/~setok/



More information about the Xotcl mailing list