Version 1 of my

Updated 2009-04-24 09:33:58 by dkf

The my command allows the invocation of any method defined by an object upon itself, including non-exported methods.


It is really a separate command that is created in each object's namespace, so it can be invoked from outside the object if you know the name of the namespace or if you use namespace code inside the object to wrap the invocation. This is useful for callbacks like variable traces or bind event handlers.

official reference