in reply to use_ok output

To customize the output of your tests to STDOUT take a look at TAP::Harness. With TAP::Harness you can set the verbosity level for your tests individually. *(like suppressing use_ok($module);)

To capture the output of a test take a look at TAP::Parser. There's a recipe for outputting results to a file on the TestAnything.org site.

I did some digging in those docs and in Perl Testing: A Developer's Notebook but did not find any specific examples of storing the output of use_ok();. Hopefully you or another kind monk will have better luck.


"...the adversities born of well-placed thoughts should be considered mercies rather than misfortunes." — Don Quixote