> Currently,
> 
>   foo->bar($baz)
> 
> can be parsed either as C<<'foo'->bar($baz)>>, or as C<<foo()->bar($baz)>>
> depending on how the symbol C<foo> was used on other places.  The proposal
> is to always choose the first meaning: make C<< -> >> autoquote the bareword
> on the left.

Here is a question: How does this relate to getting hashrefs and
arrayrefs from functions?

   if ( want->{count} > 2 ) { return $one, $two }

Will that be interpreted as:

   'want'->{count}
   want()->{count}

To be consistent, it should mean the first one. That is, the infix
operator -> should always autoquote the bareword to the left. Am I
correct in assuming that's what you meant?

-Nate

Reply via email to