Florian Gross wrote: >> In principle, I think it should be possible to do the same things >> from Ruby as from C. I.e. if C can set a variable $~ in the caller's >> scope, it should be possible to do that from Ruby as well. > > > Indeed. See attachment, Binding.of_caller. Nice. Thanks a lot. I will probably be able to put that to use. // Niklas