The Tcllib contains a package to safely manage plugins to applications called plugin.
You can find the documentation at:
http://tcllib.sourceforge.net/doc/pluginmgr.html
Anyone care to post a simple example? --- JC 2007-09-19
AK same day - The page::pluginmgr in the page module of Tcllib uses the pluginmgr.