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

Something is being cached?

$ pwd;ls;cat http-3.0.tm                                                                                                      
/usr/local/lib/Tcl/modules/8.5
http-3.0.tm
package provide http 3.0

$test -f /usr/local/lib/Tcl/tcl8.5/http-2.7.5.tm && echo fileisthere
fileisthere

$ tclsh8.5 
% tcl::tm::path list
/usr/local/lib/Tcl/tcl8.5
% package require http 6.6
can't find package http 6.6
% tcl::tm::path add /usr/local/lib/Tcl/modules/8.5
% package require http
2.7.5
% package forget http
% package require http
3.0