From: nobu.nokada@... Date: 2003-02-11T08:51:00+09:00 Subject: Re: value of assignment (Re: Order of the value of an expression changed? (PR#579)) Hi, At Tue, 11 Feb 2003 07:51:04 +0900, Sean Chittenden wrote: > #BEGIN test.rb > str = '' # snip XML dtd/doc > root = XML::Parser.new().string=(str).root > node_set = root.pointer('xpointer(id("two"))') > node_set.each{|n| p n} > #END test.rb XML::Parser.class_eval {alias set_string string=} root = XML::Parser.new().set_string(str).root > *grump* I'll stop pouting now, but I think this was a step in the > wrong direction. -sc It depends on what user expects. Probably, Assignment would be expected to work as assignment in most cases. -- Nobu Nakada