Tcl Medium · Lesson 2

Packages and modules: package require, pkgIndex.tcl and .tm files

Ship code as a versioned package, find it through auto_path and pkgIndex.tcl or a Tcl module file, state version needs, and load files with source.

Lessons · Tcl Medium · Lesson 2 of 10

Packages and modules: package require, pkgIndex.tcl and .tm files

Ship code as a versioned package, find it through auto_path and pkgIndex.tcl or a Tcl module file, state version needs, and load files with source.

Illustration for Tcl
Ship code as a versioned package, find it through auto_path and pkgIndex.tcl or a Tcl module file, state version needs, and load files with source.