On 10/4/05, Miroslav Silovic <[EMAIL PROTECTED]> wrote: > Playing with pugs, I ran into this corner case: > > sub f($x) { say $x; } > f {1}.(); # ok, outputs 1 > > sub f([EMAIL PROTECTED]) { say @_; } > f {1}.(); # outputs block, tries to call a method from the return of say, > dies > > Whitespace after f doesn't change the behaviour (in either case). Is this > behaviour a bug in pugs? Should . bind stronger than non-parenthesised > function call regardless of slurpy?
I think that's what it should do, yes. Luke