title: How do I check the exit code in Test::More?
body: <p>According to Test::More <a href="http://search.cpan.org/~mschwern/Test-Simple-0.86/lib/Test/More.pm#EXIT_CODES" rel="nofollow noreferrer">documentation</a>, it will exit with certain exit codes depending on the out come of your tests.
  My question is, how do I check these exit codes?</p>
  
  <p>ps. I am trying to build a harness myself. Is there a simple harness I can use?</p>
  
  <p>ps2. Test::Harness did the trick for me. In particular execute_tests function. This function returns all the statistics I want. Thank you everyone who gave useful links.</p>