Hi,

In message "[ruby-talk:01618] thread-local $-prefixed variable"
    on 00/02/28, GOTO Kentaro <gotoken / math.sci.hokudai.ac.jp> writes:

|>Also, speaking of global variables, what happens to the global variables
|>in a multithreaded program?  Does each thread get a different copy of,
|>e.g. $! if they each raise an exception at the same time? 
|
|I don't know the complete list of thread-local $-prefixed variables. 
|I hope anyone will list here. 

  $!, $@, $?, $_, $~, $SAFE, __FILE__, __LINE__
  and all other regexp variables like $&, $1, etc.