Re: Package unloading



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.
.



Relevant Pages

  • Re: Regular-expression search: escaping characters
    ... >> the code in order to work in TCL 8. ... So in the past you wouldn't need to escape braces. ... Other regexp improvements just exploited syntax that would have been ... I wouldn't imagine that Tcl 9 would radically depart from the current ...
    (comp.lang.tcl)
  • Re: Quick feedback no Tcl footprint, please
    ... never be any installation or distribution involved. ... Imagine I'm building a TiVo box or a network router with some automation in it. ... I would assume that without using upx, the footprint of an 8.4 tcl distro would be around 0.5MB - 1MB. ... Maybe you could give a little more info on what footprint you would like to achieve - ie I am very happy with a 5MB Tcl/Tk footprint in my PDA, although it's also a memory limited tool. ...
    (comp.lang.tcl)
  • Re: Tcl dot net (Tcl.net, yes microsoft net framework) ? realistic?
    ... with Microsoft Visual Studio and full oop by standard would be the most ... awesome thing I can imagine as programing language. ... While I suspect that most of the Tcl Maintainers (as the devs are ...
    (comp.lang.tcl)
  • Re: http://eventmachine.rubyforge.org/
    ... I imagine ... conversions, line ending conversions, etc). ... been a core feature of Tcl for probably longer than Ruby has even existed.... ... so someone could map urls to events and have a site built from trees ...
    (comp.lang.tcl)