Re: Package unloading
- From: Derek Fountain <nomail@xxxxxxxxxxxxxxx>
- Date: Thu, 31 Jan 2008 09:05:46 +0000
I'd encourage you to examine just what it is you think auto-loading is
doing for you. Most of the justifications for it I can imagine have
passed from the scene. Simplest answer, at least long term, might be
"Stop Doing That".
My dept has been working on an extended version of Tcl for several years now. We have about 30 packages, written in a mix of Tcl and C code. We'd need a better reason than my current reloading issue to rework the loading mechanism of that lot!
them over again. If your package follows recommended conventions, that
should be a simple matter of [namespace delete ::mypackage]. [*]
That works, thanks. :)
I would describe it as doing packages in the "Tcl 7 way" myself. It
works, but there's better choices now.
Is there something I can read that tells me how to do it the modern way? I've been out of the Tcl loop for a couple of years and have a lot of catching up to do.
.
- References:
- Package unloading
- From: Derek Fountain
- Re: Package unloading
- From: Donald G Porter
- Re: Package unloading
- From: Derek Fountain
- Re: Package unloading
- From: Donald G Porter
- Package unloading
- Prev by Date: Re: clock scan
- Next by Date: Building a windows app with Tcl/Tk includes X.h
- Previous by thread: Re: Package unloading
- Next by thread: Multi-thread application in FreeWrap.
- Index(es):
Relevant Pages
|