http://www.perlmonks.org?node_id=1079441


in reply to Re: "warn" is your best friend
in thread "warn" is your best friend

You want to know my trick for that? When debugging, instead of outputting with warn $message, output messages with ::diag $message.

Advantages:

use Moops; class Cow :rw { has name => (default => 'Ermintrude') }; say Cow->new->name