> Date: Tue, 29 Oct 2002 15:57:56 -0800 (PST) > From: Larry Wall <[EMAIL PROTECTED]> > > That's not a problem with builtins, but what about > > sub foo (); > sub prefix:foo ($x); > > @a = [foo][1,2,3,4,5];
So how is this interpreted? Such syntactic ambiguity isn't nice. Should we go with the hyper interpretation, and say use: [foo].[1,2,3,4,5] For the other way. Wait... but that's no good! That's an infinite lookahead situation (is our parser one that cares?): [$foo.baz.bar.assuming(a => 1, b => 2, d => 4)] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ term? operator? i don't know. keep on parsing Oh! Operator! I think this ambiguity is prevalent enough to sit with the coder, considering other cases. How are we going to deal with this? Luke