Re: RFC 174 (v1) Parse C<func($obj, @args)> as C<func $obj (@args)>

[email protected] (Damian Conway) Thu, 31 Aug 2000 09:27:31 +1100 (EST)
Newsgroups perl.perl6.language.subs
Message-ID <[email protected]>
   > Just wanted to clarify this, as I think this may be the part that
   > overlaps with what you're doing. Under this syntax, the object would be
   > called for you automatically, so your prototypes wouldn't have to deal
   > with optional first arguments at all:
   > 
   >    print($FILE, "$stuff");  # $FILE->print($stuff)
   >    print("$stuff");         # main::print($stuff)

How does it know that the second version isn't:

	$stuff->print();

????

Damian