Dispatch on context

2003-09-08 Thread Piers Cawley
So, I was wondering about how to do multidispatch based on the context in which something is called, which leads me to wonder if there's going to be a way of reifying calling context so I could write: method whatever($arg1, $arg2) { my multi whatever ($self, Scalar $context:

Re: Dispatch on context

2003-09-08 Thread Luke Palmer
Piers Cawley writes: So, I was wondering about how to do multidispatch based on the context in which something is called, which leads me to wonder if there's going to be a way of reifying calling context so I could write: method whatever($arg1, $arg2) { my multi whatever ($self,