From: "Volkmann, Mark" Date: 2002-05-02T03:43:42+09:00 Subject: RE: Auto-quoting simple hash keys? This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C1F140.0EE4C840 Content-Type: text/plain; charset="iso-8859-1" Would it only do that if there was no variable in scope named key? This seems dangerous. I may have just mistyped a variable name. > -----Original Message----- > From: Berger, Daniel [mailto:djberge@qwest.com] > Sent: Wednesday, May 01, 2002 1:35 PM > To: ruby-talk@ruby-lang.org > Subject: Auto-quoting simple hash keys? > > > Hi all, > > What would people think of auto-quoting simple hash keys in > Ruby (ala Perl)? > > i.e. hash[key] would be equivalent to hash['key'] > > Assuming this is possible (Matz), is it something people > would be interested > in? *********************************************************************************** WARNING: All e-mail sent to and from this address will be received or otherwise recorded by the A.G. Edwards corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ************************************************************************************ ------_=_NextPart_001_01C1F140.0EE4C840 Content-Type: text/html; charset="iso-8859-1" RE: Auto-quoting simple hash keys?

Would it only do that if there was no variable in scope named key?
This seems dangerous. I may have just mistyped a variable name.

> -----Original Message-----
> From: Berger, Daniel [mailto:djberge@qwest.com]
> Sent: Wednesday, May 01, 2002 1:35 PM
> To: ruby-talk@ruby-lang.org
> Subject: Auto-quoting simple hash keys?
>
>
> Hi all,
>
> What would people think of auto-quoting simple hash keys in
> Ruby (ala Perl)?
>
> i.e. hash[key] would be equivalent to hash['key']
>
> Assuming this is possible (Matz), is it something people
> would be interested
> in?



***********************************************************************************
WARNING: All e-mail sent to and from this address will be received or
otherwise recorded by the A.G. Edwards corporate e-mail system and is
subject to archival, monitoring or review by, and/or disclosure to,
someone other than the recipient.
************************************************************************************
------_=_NextPart_001_01C1F140.0EE4C840--