![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.tcl archiveRe: (newbie) storing outputs from all lines of procs into a string
From: Bryan Oakley <oakley@bardo.clearlight.com>
Date: Mon Dec 19 2005 - 18:49:20 CET
Andreas Leitgeb wrote:
I'd probably still go with a single redefinition, with a traffic cop:
rename puts _puts
It's not perfect, but personally I prefer that over the constant
Thinking out loud for a moment... another way to accomplish it is to use
rename puts core_puts
<code that should use special form of puts>
# swap in standard definition of puts
I think that may make the code more self-evident, but it's arguable
|