Re: Package unloading
- From: Derek Fountain <nomail@xxxxxxxxxxxxxxx>
- Date: Wed, 30 Jan 2008 15:35:19 +0000
Have you tried using "package forget"?
Yes. That seems to convince the interpreter that the package is no longer loaded, but doesn't actually delete the namespaces and procedure definitions that it created. auto_path still contains the paths to the files. All the procs in the package are still in the interpreter so they still run.
I was hoping there was some easy way to back out all that stuff, or to force the next "package require" command to go and reload the tcl file from the disk. Is there an easy way to re-source the file without having to type its full filename (which is this case is enormous)?
.
- Follow-Ups:
- Re: Package unloading
- From: Bryan Oakley
- Re: Package unloading
- From: suchenwi
- Re: Package unloading
- From: ZB
- Re: Package unloading
- References:
- Package unloading
- From: Derek Fountain
- Re: Package unloading
- From: Bryan Oakley
- Package unloading
- Prev by Date: Re: Why doesn't foreach return a value
- Next by Date: Re: Package unloading
- Previous by thread: Re: Package unloading
- Next by thread: Re: Package unloading
- Index(es):
Relevant Pages
|