On Fri, Mar 12, 2004 at 03:47:22AM -0500, Austin Hastings wrote: > > -----Original Message----- > > From: Larry Wall [mailto:[EMAIL PROTECTED] > > > > Now in the specific case of . and .= we don't exactly have a normal > > binary operator, because the right side is not an expression. > > $tis.=««sad pity pity sad sad pity true»; > > $s .= ($useMbcs ? wlength : length); > > (Side note: although that expression isn't valid, since the wlength > and length methods aren't qualified, it *should* be, since a human could > infer it rather easily. Can we make that DWIM? (One way would be > for the parser to convert that into if-else form if it appeared > ambiguous.))
So ... how smart will perl6 be? $o .= (foo,bar,baz); $o .= (expr_returning_method); Since human expectations vary I don't think I want these. -Scott -- Jonathan Scott Duff [EMAIL PROTECTED]