Re: [TCL] Help debugging behavior in new source command
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: [TCL] Help debugging behavior in new source command

From: Don Porter <dgp@email.nist.gov>
Date: Thu Apr 13 2006 - 18:46:34 CEST

Don Porter wrote:
>>>Process exit is a pretty severe reaction to a missing file.
>>>Sure that's what you want?
 
Andrew Falanga wrote:
>> In this case, I'm pretty sure that is what I want. I'm typically going
>> to be sourcing in libraries and if I can't find them, the script won't
>> run anyway.
 
Bryan Oakley wrote:
> Once could argue that the decision to abort doesn't belong in a utility
> procedure like "source" (or its replacement).

Yes, that's a better way to make the point. This is an exercise in
replacing [source], but [source]'s response to a missing file is not
reproduced.

-- 
| Don Porter          Mathematical and Computational Sciences Division |
| donald.porter@nist.gov             Information Technology Laboratory |
| http://math.nist.gov/~DPorter/                                  NIST |
|______________________________________________________________________|
Received on Sun Apr 30 03:10:50 2006