On Mon, Dec 05, 2005 at 07:54:25AM +0000, Luke Palmer wrote: > I wonder if there is a macroey thing that we can do here. That is, > could we make: > > ok(1); > is(1, 1); > like("foo", /foo/); > > Into: > > ok(1); > ok(1 == 1); > ok("foo" ~~ /foo/); > > And lexically analyze the argument to ok() to find out how to report > the error? Something in the style of Smart::Comments which looks at > subexpressions and tells you about them automatically.
I like that a lot. -kolibrie