On Sat, Jul 08, 2006 at 07:42:06AM -0700, Jonathan Lang wrote:
: Is there anything that you can do with a sub (first parameter being
: some sort of object) that you cannot do with a method? Frex, given:
:
: multi method my_method($invocant:);
:
: would
:
: &topical_call := &my_method.assuming
Is there anything that you can do with a sub (first parameter being
some sort of object) that you cannot do with a method? Frex, given:
multi method my_method($invocant:);
would
&topical_call := &my_method.assuming :invocant<$_>;
be legal?
--
Jonathan "Dataweaver" Lang