I'm writing this to report a bug as related to Ruby's principle of
least surprise regarding nested string interpolation. I was happily
coding along and accidently constructed something equivalent to the
following:

list = %w{yes it can}
puts %Q! Nested string interpolation
         cannot be done in ruby...
         #{
            list.map {
              |elem|
              ".. #{elem} .." # weird nest
            }
          }
!

I was so certain this wouldn't work that I barely bothered to test it.
Imagine my surprise at seeing the following:

 Nested string interpolation
        cannot be done in ruby...
        .. yes .... it .... can ..

So, the bug is that Ruby is "too slick", and I demand that this bug be
"patched" to insure fair competition with other languages. Am I correct
in assuming that parse.y would be the proper place to start tracking down
this "problem"?

Sincerely,
Travis Whitton <whitton / atlantic.net>

p.s., yes this is a joke ;-)