Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2002-02-16
03:48 • Closed ticket [518095ffff]: package require search method difference plus 7 ... artifact: 6ea1c7581d user: dgp
2002-02-15
19:12 • New ticket [518095ffff]. artifact: 00f3aaf0e9 user: nobody

package require search method difference

Closed / Duplicate518095ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2002-02-15 19:12:55
In the 8.3.2 version, every subdirectory with pkgIndex.tcl can be loaded with package require 
command. The subdirectory does not need to be in the auto_path, as long as its parent is in the 
auto_path.

In the 8.4a3 version, I "make install" it to my personal directory at $TCLROOT/lib I do a symblic link 
to my package directory with:when at $TCLROOT/lib directory, do:

   ln -s /export/home/utilman/dev/TestHelper

There is a pkgIndex.tcl at TestHelper directory.

In 8.3.2, if I give "package require TestHelper", TestHelper will be recongnized, in 8.4a3 it is not.
dgpplain2002-02-16 03:48:29
Logged In: YES 
user_id=80530

Duplicate of Tcl Bug 451571.  Fixed in 8.4a4.
Log in (anonymous is fine) to add a comment.