[ruby-core:84486] Re: [ruby-dev:50394] [Ruby trunk Bug#14240] warn four special variables: $; $, $/ $\

From: Eric Wong <normalperson@...>
Date: 2017-12-26 19:52:17 UTC
List: ruby-core #84486
Tanaka Akira <akr@fsij.org> wrote:
> >> Besides that, we should warn for `$=` and `$.`, I think.

> 2017-12-26 17:55 GMT+09:00 Eric Wong <normalperson@yhbt.net>:
> > I find $., $\, and $/ useful for oneliners, at least.  $.
> > especially
> 
> Hm.  One idea to support oneliners is that warn the
> special variables when -e option is not given.

Can we have the warnings forever?  (No removal, ever).
I would be happy with that :)

One important thing about oneliners is you won't find many
examples of them in code search engines to judge popularity.

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next