From: Josef 'Jupp' Schugt Date: 2003-06-04T07:18:05+09:00 Subject: Re: case of sub! not working Saluton! * Emmanuel Touzery; 2003-06-03, 11:06 UTC: > > ENV['foo'] = 'bar' > > > > p `echo $foo` Let me add the result of the above code: "bar\n" > wow, nice :O) > > didn't know that... Please make sure you really do understand the whole issue: $ ruby -e "ENV['foo'] = 'bar'"; echo "'$foo'" '' The change is not persistent but limited to the environment your Ruby script runs in - which is *not* the environment the script is started from but discarded after run. As a result the above code only has limited use. But that's a Linux/Unix FAQ, no Ruby FAQ ... Gis, Josef 'Jupp' Schugt