http://qs321.pair.com?node_id=132466


in reply to Context-Sensitive Subroutine Dispatch

Interesting idea. You might also want to take a look at TheDamian's Class::Multimethods which seems to have a similar purpose.
  • Comment on (RhetTbull) Re: Context-Sensitive Subroutine Dispatch

Replies are listed 'Best First'.
Re: (RhetTbull) Re: Context-Sensitive Subroutine Dispatch
by TheDamian (Priest) on Dec 17, 2001 at 10:55 UTC
    Actually, if chromatic's agreeable, I'd very much like to steal the idea of contextual dispatch and roll it into the new version of Class::Multimethods that I'll be releasing early next year. With the appropriate blame attribution, of course! ;-)
      You're quite welcome to the idea. I think I'll put 0.02 up on the CPAN later in the interim and work on integrating optional Want support.

      As a side note, Class:Multimethods did lead me to this idea. :)

        Great. There's an elegant circularity to it then.

        I'll probably wait till you've ironed out the wrinkles that are sure to be involved in integrating Want, and then steal all the solutions. ;-)