From: Dave Burt Date: 2005-11-05T09:42:09+09:00 Subject: Re: ruby-dev summary 27393-27541 Christophe Grandsire wrote: > p "\244\242\244\244".chop@jcode > > I know: "boohoo! syntax!" But it's a syntax that's rather natural > considering the omnipresence of e-mail addresses nowadays, and it's not as > if Ruby doesn't use @ already, nor ever uses one symbol for two different > (but unambiguous) roles. It's too close to: p "\244\242\244\244".chop @jcode That's an ArgumentError, but it would be a valid call to chomp, for instance. FWIW, I think I like the block-style idea, but rescue-ish is good, too. def foo # or any block-starting thing # global namespace using my_namespace # specific namespace end # global namespace again and you could also allow a trailing using to apply the namespace to the whole expression: "foo".reverse.capitalize using my_wacky_string_namespace Cheers, Dave