Nathan Gray: > Luke Palmer: >> 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.
ok("that" ~~~~~~~~~ /I/) -- Grtz, Ruud