HaloO,

Damian Conway wrote:
We can't. The problem is that:

    foo .bar

has to mean:

    foo($_.bar)

So the only way to allow whitespace in dot operations is to put it after the dot.

The obvious alternative is to make 'foo .bar' simply mean
'call foo and dispatch .bar on the return value'. The topic
comes into play only if there's no syntactical invocant.
Kind of last resort fallback to $_ before 'method on void'
error. Why should the dispatch on topic get such a privilege?

Note that a prominent, typical foo actually reads:

  self .bar;

And a self($_.bar) is pretty much useless. In other words
wrongly huffmanized.
--

Reply via email to