title: TCL namespace and source
body: <p>I have two files: main.tcl and paths.tcl.<br>
  main.tcl:</p>
  
  <pre><code>set p "paths.tcl"
  puts $p
  if {[lindex $argv 0]} {
      source $::p
      puts $::techDir
  }
  namespace eval ::newWkSpace {
      source $::p
  }
  puts $::newWkSpace::techDir
  </code></pre>
  
  <p>paths.tcl:</p>
  
  <pre><code>set techDir ../tech
  </code></pre>
  
  <p>And I do two trials:</p>
  
  <pre><code>$ tclsh main.tcl 0
  paths.tcl
  ../tech
  $ tclsh main.tcl 1
  paths.tcl
  ../tech
  can't read "::newWkSpace::techDir": no such variable
      while executing
  "puts $::newWkSpace::techDir"
      (file "main.tcl" line 11)
  </code></pre>
  
  <p>Can someone explain the error, and why it does not happen in the first trial ? (that's with tcl 8.5)</p>