# For example, I want to destroy a frame (window): # without Class::DotRef: # First you need to have the variable $frame. $frame->Destroy ; # with Cladd::DotRef: # you can do this in any point of the code, since the obj. class is global: obj.frame.MyFrameID.destroy ; # You can use DotRef to get a object too: $frame = obj.frame.MyFrameID ; # And work in the normal way: $frame->Destroy ;