>>>>> "D" == Dave Thomas <Dave / thomases.com> writes:

D> But what would you check? Would you disallow the assignment if the
D> object currently referenced by a $ global is frozen? That would be

 rb_str_setter can test if the object is frozen ($ global or not)

D> difficult for "$," which by default is nil (as nil can't be frozen).


Guy Decoux