> What I was asking, in a roundabout way, was if
> $foo.bar.baz
> makes sense; your answer suggests that it does. In which case, we can
> teach the parser that a property query is just like a method call is
> just like a hash or array element (with optional dereference if you're
> calling $foo.{bar} instead of %foo.{bar}.)
Subscripts don't fit here at all. And, in my option, shouldn't be made too.
It's:
%foo{bar}
@foo[$bar]
not:
%foo.{bar}
@foo.[$bar]
The dereferencing dot is an error there.
I believe it's vitally important not to mix everything together syntactically
(or semantically!)
Damian