Any advice would be greatly appreciated.... use Test::More; plan tests => 1; BEGIN { use_ok( 'Module' ) || print "Bail out!\n"; } ... my $obj = Module->new; $obj->run; # Will emit STDOUT I want to capture and verify
In reply to How to capture and verify STDOUT of a Perl Module by yuri123
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |