From: Donglai Gong Date: 2003-06-27T13:36:56+09:00 Subject: Re: why can't I use $3somevar for global variable in ruby 1.8.0? There must be a reason why $1ve is disallowed in 1.8.0 but I can't imagine why. Anyone knows the reason behind this change? Donglai On Friday, Jun 27, 2003, at 00:23 US/Eastern, WATANABE Hirofumi wrote: > Hi, > > Daniel Carrera writes: > >> dcarrera ~ $ ruby -v >> ruby 1.8.0 (2002-12-24) [sparc-solaris2.8] >> dcarrera ~ $ irb >>>> $3somevar = "whatever" >> => "whatever" >> >> >> What's the problem? > > Your ruby is too old. > > ChangeLog says: > > Tue Apr 8 11:49:31 2003 Yukihiro Matsumoto > > (snip) > > * parse.y (yylex): disallow global variables like "$1ve". > [ruby-core:00945] > > -- > eban >