I\'m trying to use Test::More to unit test Perl functions that print to the screen.
I understand that this output may interfere with tools such as prove.
How
I'd look at letting a module handle this for you. Look at Capture::Tiny.