in reply to Sending module output to STDOUT in test

Try warn instead of print. It's like print STDERR, but prettier and more succinct. You don't want to use STDOUT.

warn "Something went wrong.";

Neil Watson
watson-wilson.ca