In a message dated Sun, 13 Oct 2002, Piers Cawley writes:
> I like that idea:
>
>    class SomeClass {
>      method class_method     ( Class $class    : ... ) { ... }
>      method instance_method  ( SomeClass $self : ... ) { ... }
>      method dont_care_method (           $self : ... ) { ... }
>    }

I was going to say the same thing, but then I remembered that Perl 6
methods, unlike the sub 'methods' in Perl 5, won't get the invocant as the
first real argument--it will be the topic instead.  And I don't think you
can do multiple-dispatch on topic, can you?

Trey

Reply via email to