Multisubs and multimethods: what's the difference?

2006-03-01 Thread Joshua Choi
Kudos to all the Perl 6 mailing list. What's the difference between multi sub infix:<..> ( Int $min, Int $max ) { ... } and multi method infix:<..> ( Int $min, Int $max ) { ... } ? And in the case there isn't one, what's the point of declaring if it's a "sub" or "method"; why not just "multi"

Re: Multisubs and multimethods: what's the difference?

2006-03-01 Thread Larry Wall
On Wed, Mar 01, 2006 at 09:09:30PM -0700, Joshua Choi wrote: : Kudos to all the Perl 6 mailing list. Not to mention all the people on the list... :-) : What's the difference between : multi sub infix:<..> ( Int $min, Int $max ) { ... } : and : multi method infix:<..> ( Int $min, Int $max ) {