From: Joel VanderWerf Date: 2002-07-07T17:27:38+09:00 Subject: Re: unshifting a directory onto ENV['PATH'] Ned Konz wrote: > Unfortunately, this doesn't work for some reason... > > ENV['PATH'][0,0] = 'mystuff:' ENV['PATH'].id == ENV['PATH'].id # ==> false Looks like ENV's [] method returns a copy of the string. The only way to change ENV's data is to use []=. ENV isn't a real hash, just an interface to the enviroment vars.