quattor / maven-tools

Maven-based Build Tools
www.quattor.org
Apache License 2.0
3 stars 12 forks source link

use diagnostics #145

Open stdweird opened 7 years ago

stdweird commented 7 years ago

See http://perldoc.perl.org/diagnostics.html

Proposal to switch it on on Test::Quattor::Object (so enabled for all unittests), and also add it to the standard PM module template (so enabled for all perl modules that use it).

It's trivial to implement

jouvin commented 7 years ago

See Stackoverflow: http://stackoverflow.com/questions/6397170/is-there-any-problem-with-use-diagnostics. Not necessarily for production use...

jrha commented 7 years ago

Might be a good idea during unittests only.

ned21 commented 7 years ago

Also this comment suggests we can pipe the warnings from a logfile to the splain programme to get the same info?