Re: Package unloading
- From: Derek Fountain <nomail@xxxxxxxxxxxxxxx>
- Date: Wed, 30 Jan 2008 16:11:06 +0000
What is the relationship between the file "foo.tcl" and the package
"mypackage" ?
foo.tcl is a file full of procs that make up the functionality of mypackage. It's source'ed via autoload/auto_index when a proc in it is needed.
The exact effect of [package require]-ing a new version of "mypackage"
over the top of its [package forg<o>t]ten predecessor depends on the
details of how "mypackage" is written.
Yes, I'm doing my package loading in what I thought was the "standard" way, but maybe it's only standard to me because that's how I've always done it.
I think adding something like Brian's 'reload' to my package loading is going to be the best way.
.
- Follow-Ups:
- Re: Package unloading
- From: Donald G Porter
- Re: Package unloading
- References:
- Package unloading
- From: Derek Fountain
- Re: Package unloading
- From: Donald G Porter
- Package unloading
- Prev by Date: Re: Why doesn't foreach return a value
- Next by Date: Re: Missing bindings when running a Tk app from C
- Previous by thread: Re: Package unloading
- Next by thread: Re: Package unloading
- Index(es):