TCL - signal command overloaded by Tclx, namespace clash?
In some code I have used the signal command. This is from the package Signal. Which works very well, but I believe it is difficult to find and hardly used.
Anyway, I have some code using this signal command. While reusing old code and having the need of including Tclx the signal command cannot be used anymore. I believe it is overloaded by the signal command from the Tclx package, which has a different syntax: Code:
% package require Signal This looks like a namespace clash. Unfortunately the signal function from Signal does not seem to have its own namespace. Code:
% package require Signal Is this a limitation in Tcl? As in Tcl does not support namespaces like Python does? Is there a solution? jlinkels |
All times are GMT -5. The time now is 09:40 AM. |