----- Original Message ----- From: "Jonathan Lang" <[EMAIL PROTECTED]> > So the following three declarations cover very similar (but not quite > identical) things: > > multi sub call ($a: $b) {...} > submethod invoke ($a: $b) {...} > method check ($a: $b) {...} > > All three of these use multiple dispatching. The only distinctions are > that "invoke" and "check" can be called using method-like syntax, whereas > "call" cannot; and "check" pays attention to inheritence, whereas "call" > and "invoke" do not. >
Also, I assume that invoke and check will have access to $a's private data members and methods, while call will not. Joe Gottman