On Mon, Jan 10, 2011 at 1:06 PM, Siep Korteling <s.korteling / gmail.com> wrote:
> str = #$"
>
> -:1: unterminated string meets end of file
>
> Is there is something special about this sequence? '#$' is fine.

When you're referring to a variable with a sigil ($global, @instance),
you can omit the {} in string interpolation. Thus:

foo = "local"
@foo = "ivar"
$foo = "global"
"local: #foo, ivar: #@foo, global: #$foo"
  => "local: #foo, ivar: ivar, global: global"

So, yes, there is something special about "#$" :)

Ben