> A more generic example: So the $~ variables are both thread-local *and* scoped to the enclosing method? That's definitely new to me. Thanks for the explanation. -- Posted via http://www.ruby-forum.com/.