From: matz@... (Yukihiro Matsumoto) Date: 2003-01-06T17:23:55+09:00 Subject: Re: ENV.clear Hi, In message "Re: ENV.clear" on 03/01/04, Jeremy Henty writes: |Thinking about it further, in this case I really want ENV to respond |to "replace" rather than "clear". Currently (ie. in 1.6.8) it does |not. I would argue that ENV.replace is *much* less likely to be |unintentional than ENV.clear because although one rarely wants to |delete the environment entirely (eg. do you *ever* want an empty |PATH?) it is often sensible to reset it to some fixed value. ENV lacks the following methods: clear, replace, update, shift, invert default_proc, default, defalt= the latter three (deal default values) is meaningless. "clear", "shift" and "update" are useless (in my opinion) but may be harmless to have. "replace" and "update" (they are aliases) are good to have. I will add them later. matz.