Posted to tcl by stu at Fri Oct 01 07:06:41 GMT 2010view raw

  1. Something is being cached?
  2.  
  3. $ pwd;ls;cat http-3.0.tm
  4. /usr/local/lib/Tcl/modules/8.5
  5. http-3.0.tm
  6. package provide http 3.0
  7.  
  8. $test -f /usr/local/lib/Tcl/tcl8.5/http-2.7.5.tm && echo fileisthere
  9. fileisthere
  10.  
  11. $ tclsh8.5
  12. % tcl::tm::path list
  13. /usr/local/lib/Tcl/tcl8.5
  14. % package require http 6.6
  15. can't find package http 6.6
  16. % tcl::tm::path add /usr/local/lib/Tcl/modules/8.5
  17. % package require http
  18. 2.7.5
  19. % package forget http
  20. % package require http
  21. 3.0