stevan little wrote: > Geoff, > > This sounds like mock objects basically > (http://www.mockobjects.com/FrontPage.html), although maybe on a > smaller/more-directed scale.
hrmph. now that you mention it, yeah, it does. and there's already Test::MockObject (which I've heard about but obviously haven't actually used yet :) just goes to show ya, if you're looking for lexical subroutine overloading that's what you'll find. but what you think you want and what you really want are often different. > I do like the idea of building a mock > object repository of sorts, I am sure that would come in handy. yeah, that was the real goal. perhaps a subclass of Test::MockObject is more appropriate. --Geoff