[#1551] Hashes as keys — "Nathaniel Talbott" <nathaniel@...>

I was just playing around with Hash#hash and discovered that you can't use a

13 messages 2003/09/23

Re: Assignment to $--, $- and the like

From: matz@... (Yukihiro Matsumoto)
Date: 2003-09-06 16:17:18 UTC
List: ruby-core #1524
Hi,

In message "Assignment to $--, $- and the like"
    on 03/09/07, Mauricio Fern疣dez <batsman.geo@yahoo.com> writes:

|IMHO assigning to a global variable with such an illegal name shouldn't 
|cause the parser to abort -- instead it should report the same error you 
|get when trying to use the value of such an invalid global variable.
|
|Patch that changes the current behaviour to the one I suggested:

Seems nice.  Thank you.

							matz.


In This Thread

Prev Next