On Thu, 26 Aug 2004 01:21:36 +0900, MiG <mig / 1984.cz> wrote:
> 
> I think no because $variable is global variable. It redirects stdout in
> all threads even if it is in other module (I think module protects only
> namespace not global variables).
> >   $stdin, $stdout, $stderr = client_stdin, client_stdout, client_stderr
> >   load(file)

http://www.rubygarden.org/ruby?WriteToAString

Note: you can also rewrite your scripts to read from/write to a
provided input/output object instead of using $stdout explicitly. See
bin/ldiff in Diff::LCS.

-austin
-- 
Austin Ziegler * halostatue / gmail.com
               * Alternate: austin / halostatue.ca