Package unloading
- From: Derek Fountain <nomail@xxxxxxxxxxxxxxx>
- Date: Wed, 30 Jan 2008 14:21:17 +0000
Surely someone has been here before, but Google isn't helping...
I have a package containing a file call foo.tcl, which contains a whole bunch of Tcl procedures I'm working on. I start a tkcon, package require mypackage, do my thing, then go back to my editor for further work on foo.tcl. Then I run 'make install' to get the latest foo.tcl into place.
Then, I need to exit tkcon and restart it, and package require again to get the latest Tcl code into the interpreter. Is there a way I can unload foo.tcl and reload it from disk without restarting the interpreter?
.
- Follow-Ups:
- Re: Package unloading
- From: Donald G Porter
- Re: Package unloading
- From: Bryan Oakley
- Re: Package unloading
- Prev by Date: Re: Time out operation
- Next by Date: Multi-thread application in FreeWrap.
- Previous by thread: cygwin, ssh -X, wish break
- Next by thread: Re: Package unloading
- Index(es):
Relevant Pages
|