How can I unit test Perl functions that print to the screen?

后端 未结 3 517
广开言路
广开言路 2020-12-28 13:31

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

3条回答
提交回复
热议问题