Front page | perl.perl6.language |
Postings from June 2001
Re: Coupla Questions
Thread Previous
|
Thread Next
From:
Damian Conway
Date:
June 11, 2001 16:20
Subject:
Re: Coupla Questions
Message ID:
200106112320.JAA12862@indy05.csse.monash.edu.au
> 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
Thread Previous
|
Thread Next