title: I can add to ::oo::define to add global tclOO class definition extensions, how can I do this non-globally?
body: <p>I have found some TclOO resources that mention you can create subclasses of <code>::oo::class</code>. You can also create bare objects using <code>::oo::object create</code>, but you cannot migrate from a bare class to a real class (ie parent <code>oo::object</code> to parent <code>oo::class</code>)</p>
  
  <p>I'm looking to create a DSL for defining modules, that just creates class definitions.</p>
  
  <pre><code>module create mysql 5.5 {
    executable mysqld
    method post_install { ... }
  }
  
  module create redis 2.6 {
    executable redis-server
    ...
  }
  </code></pre>
  
  <p>These could then be used as</p>
  
  <pre><code>set mod [mysql new]
  $mod install
  $mod post_install
  </code></pre>