Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

When to use packages

Status
Not open for further replies.

ikanos

Programmer
Dec 1, 2009
2
US
Hi,

Can somebody please tell me what are the advantages of packages in tcl. I understand that using packages one can define a piece of code that can be loaded whenever required. But is this the only advantage?
I'm using TCL since sometime and my automation framework is totally based on it. But I never required packages to be used. So I wanted to understand it's benefits so that may be I can improve my framework.

Thanks
 
Please share your ideas on it. I'm not able to find much on internet about this.
 
As far as I have been able to determine, packages are useful for distributions (as in Hume's Linear Algebra package). They are also a means to segregate scope, although that can be accomplished explicitly.

_________________
Bob Rashkin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top