From: Pit Capitain Date: 2005-06-03T02:53:43+09:00 Subject: Re: how to create a variable with eval - solved! [WAS] Re: binding, ObjectSpace._id2ref [WAS] Re: [ANN] parseargs-0.0.0 Ara.T.Howard schrieb: > hmm. i guess here > > def a; 'forty-two'; end > > set_var 'a', 42 > p a > > we get the method. and here > > def a; 'forty-two'; end > > a = 42 > p a > > we get the local_variable. so in either case you get a name clash - > but the sense of it is reversed with set_var. Yes, this is what I wanted to show. "Name clash" was the wrong term. > i wonder if this is un-intuitive enough to render it useless? Oh no, this isn't useless at all! Don't get me wrong. I only wanted to show the difference to "normal" local variables. Regards, Pit