Starting with version 7.5 of Tcl, the package facility (see package
manual page) became available. Instructions on how to make a stooop
package follow.

$ mkdir /usr/local/lib/stooop
$ cp pkgIndex.tcl stooop.tcl /usr/local/lib/stooop

This is only an example, as /usr/local/lib is the default Tcl package
root directory, but you may choose another: look at the pkg_mkIndex
manual page for more information (well look at it any case :-).

Now, to test if it really works:


$ tclsh
% package require stooop
3.3
% namespace import stooop::*
% info proc new
new
% exit


All you need to do now to be able to use stooop as a package is add
the following lines at the beginning of your code:

package require stooop 3.3
namespace import stooop::*
