in reply to Re: debug output from TODO with Test::More
in thread debug output from TODO with Test::More

Well, I'll be a ding-dong-dang.

I had tested with print, but not warn. Thanks, couldn't ask for a better answer !


The way forward always starts with a minimal test.

Replies are listed 'Best First'.
Re^3: debug output from TODO with Test::More
by stevieb (Canon) on Jan 13, 2017 at 15:25 UTC

    I've done things like this before for nearly the same reason, but I added a $SIG{__WARN__} handler to filter these warnings out, and dump them all to a file so I could review them all in one place instead of scouring through hundreds of lines of test output.