> 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
- RFC 251 (v1) Interpolation of class method calls Perl6 RFC Librarian
- Re: RFC 251 (v1) Interpolation of class method ca... Glenn Linderman
- Re: RFC 251 (v1) Interpolation of class method ca... Damian Conway
- Re: RFC 251 (v1) Interpolation of class metho... Michael G Schwern
- Re: RFC 251 (v1) Interpolation of class metho... Damian Conway
