O'Reilly logo

Practical Programming in Tcl & Tk, Third Edition by Brent B. Welch

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The package Command

The package command provides an alternate way to organize script libraries. It also supports extensions that are added with the load command. The package command supports a provide/require model where packages are provided by scripts in a library, and your application specifies what it needs with package require commands. The package facility supports multiple versions of a package, if necessary. Packages are described on page 163.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required