How to remove tcl procedure?
Can
unset
interp alias {} myproc {} otherproc
namespace import -force
But I did not find a way to make the procedure unknown.
Use rename to remove proc
rename
rename myproc ""
Example:
% proc myproc {} { puts "hello world" } % myproc hello world % rename myproc "" % myproc invalid command name "myproc" %