would
ns_eval [ns_markfordelete]
work?  ns_eval runs a bit of tcl code in each thread.

See, I knew there ought to be an easy way! Thanks!

I'm sure you caught it, but I should have written
ns_eval ns_markfordelete
(no brackets)

I kind of do the same thing, in that I have an init proc that does a "package require" of everything my aolserver app needs, and if rerun it first does a "package forget" on all of them. While in development, every page load causes a "package forget" so that I reload everything, so that every code change becomes immediately apparent.
To me it seems a little indirect, but also I'm not really using anything from outside sources that's packaged (no tcllib for the most part, etc). If I was, I'd probably rather use package require than rewrite part of an external package to load individually. As it is, most of my "init scripts" just source all the files in a given directory. Anyway, six of one...

Rusty


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to