Fergal Daly wrote: > I'm assuming here that test modules will provide these diagnostics in > a similar way to the old style, something like: > > my $TB = Test::Builder->new() > > sub my_test { > blah(); > $TB->ok(); > if ($TB->can("verbose_diag") { > $TB->verbose_diag({...}); > } else { > $TB->diag(...); > } > } > > and just leave it up to T::B to check whether the harness supports > them or whether to format the info as an old-style diagnostic.
Something like that. -- There will be snacks.