Re: RFC 251 (v1) Interpolation of class method calls
[email protected] (Damian Conway) Mon, 18 Sep 2000 17:39:48 +1100 (EST)
| Newsgroups | perl.perl6.language.objects |
|---|---|
| Message-ID | <[email protected]> |
> print "There are Dogs->num_dogs() species of dogs.";
>
> would interpolate as:
>
> print 'There are '.Dogs->num_dogs().' species of dogs.';
I suggest that the requirement be:
print "There are Dogs::->num_dogs() species of dogs.";
I.e. use the unambiguous form of class method call.
Damian