develooper Front page | perl.perl6.language.objects | Postings from September 2000

Re: RFC 251 (v1) Interpolation of class method calls

From:
Michael G Schwern
Date:
September 18, 2000 00:11
Subject:
Re: RFC 251 (v1) Interpolation of class method calls
Message ID:
20000918031129.G15142@athens.aocn.com
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/      schwern@pobox.com
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



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About