From: Vasyl Smirnov Date: 2007-11-08T01:37:51+09:00 Subject: Re: Language Popularity - PHP vs Ruby? On Nov 7, 6:10 pm, Phrogz wrote: > [cut] > > Obviously that's all in the same namespace/interpreter, but you don't > see a problem. Instead, try something like this: > > [cut] OK, here we go: t1.rb: #!/usr/local/bin/eruby <% p @foo ||= 'page 1' %> t2.rb: #!/usr/local/bin/eruby <% p @foo ||= 'page 2' %> Result - works like a charm: t1 gives "page 1", t2 gives "page 2" (in the browser window, of course). No matter how many times and in what sequence I reload the pages.