>>>>> "N" == Nick Bensema <nickb / fnord.io.com> writes: N> Having just learned that $-variables, while often considered to be global, N> are actually thread-specific. Not all $-variables are thread specific Add, to see the error message N> class TinyServer N> def run Thread.abort_on_exception = true N> Thread.new { N> server = TCPServer.new (2323) N> while (socket = server.accept) N> print "Caller!\n" N> Thread.new { N> socket.puts "ONE" N> $< = socket N> $> = socket N> puts "TWO" N> socket.puts "THREE" N> } N> end N> } Guy Decoux