Re: RFC 251 (v1) Interpolation of class method calls
[email protected] (Michael G Schwern) Mon, 18 Sep 2000 03:11:29 -0400
| Newsgroups | perl.perl6.language.objects |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Sep 18, 2000 at 05:39:48PM +1100, Damian Conway wrote: > 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. Uhhh... I never even knew that worked. With the exception of OO book authors, everyone's going to trip over that. I think the case of /\b[A-Z][\w:]*->[A-Z][\w:]*(/ in a string is infrequent enough that its not going to be a problem. -- Michael G Schwern http://www.pobox.com/~schwern/ [email protected] Just Another Stupid Consultant Perl6 Kwalitee Ashuranse Maybe they hooked you up with one of those ass-making magazines. -- brian d foy as misheard by Michael G Schwern