[Pas-dev] Symbol Module
Status: Beta
Brought to you by:
mortis
|
From: Kyle R. B. <mo...@vo...> - 2003-06-27 13:19:54
|
I just learned about the existance of Symbol::delete_package, which
can delete all the symbols defined in a package. That operation is useful
if you're reloading a module and want to have it's namespace cleared
out before it gets reloaded.
"Symbol::delete_package" wipes out a whole package namespace. Note
this routine is not exported by default--you may want to import it
explicitly.
I don't have time right now to look into it, but this might be a good
approach for when we reload PSPs or if we ever get to the point where
we can register and load uri handlers at run-time (for the de-register
part).
Kyle
--
------------------------------------------------------------------------------
Wisdom and Compassion are inseparable.
-- Christmas Humphreys
mo...@vo... http://www.voicenet.com/~mortis
------------------------------------------------------------------------------
|