Re: Package unloading



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