From: ts Date: 2001-06-02T23:22:52+09:00 Subject: [ruby-talk:16165] Re: Block arguments vs method arguments >>>>> "h" == hfulton writes: h> Do you mean that both notations would be available to the h> programmer, but each block must be one or the other? Another possibility is to don't change ruby and have only ||. The difference is just to add a warning (only with -w) when ruby see that a local variable is re-used in | ... | Something like this pigeon% ruby -e 'x = 1; y = 2; [1].each {|x| y = x } ; p x' 1 pigeon% pigeon% ruby -we 'x = 1; y = 2; [1].each {|x| y = x } ; p x' -e:1: warning: re using local-vars `x' 1 pigeon% Guy Decoux