Re: Package Require getting "wrong version"
- From: Donald G Porter <dgp@xxxxxxxx>
- Date: Wed, 30 Apr 2008 12:55:59 -0400
Donald G Porter <d...@xxxxxxxx> wrote:
As unsolicited advice, I'll note that no good program should contain
[package require http], since that's free to deliver either version 1.0
or version 2.* and of course those interfaces are completely different.
Use the 'requirement' argument(s) of [package require] to ask for the
command set your program actually uses.
tunity wrote:
I am not sure I follow your suggestion. Would you care to elaborate
on this?
If your program uses the commands provided by http 1.0, use the
command
package require http 1
If your program uses the commands provided by http 2.$N, use the
command
package require http 2.$N
where $N is as small as possible to get all the commands you use.
Omitting the 'requirement' argument(s) is simply a recipe for failure.
--
| Don Porter Mathematical and Computational Sciences Division |
| donald.porter@xxxxxxxx Information Technology Laboratory |
| http://math.nist.gov/~DPorter/ NIST |
|______________________________________________________________________|
.
- References:
- Package Require getting "wrong version"
- From: Gerald W. Lester
- Re: Package Require getting "wrong version"
- From: Donald G Porter
- Re: Package Require getting "wrong version"
- From: tunity
- Package Require getting "wrong version"
- Prev by Date: Re: Package Require getting "wrong version"
- Next by Date: Re: query ttk::treeview for all nodes?
- Previous by thread: Re: Package Require getting "wrong version"
- Next by thread: Re: Package Require getting "wrong version"
- Index(es):
Relevant Pages
|