![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.tcl archiveException style (was: Tcl/Tk 8.5a4 released)
From: Cameron Laird <claird@lairds.us>
Date: Fri Apr 28 2006 - 22:07:53 CEST
In article <4bf4ouF11e870U1@news.dfncis.de>,
'Nother perspective: not only does catching exceptions out of,
open $some_file
embody a certain style, but it reduces race conditions to which
if [file exists $some_file] {
is subject.
So: I'm uncertain whether your "info exists ..." is truly safer.
|