Ad-Infinitum

  • Don't loop endlessly for input
  • After two attempts use a default or bail out
  • Don't loop endlessly when system commands fail
  • Check that results don't include a 'usage' type string
  • Some options are not supported on all OSs
  • Ask the user
  • Look for ENV settings
  • Look for command line settings and/or arguments
  • Use defaults and skip if you fail to connect.

CPAN::YACSmoke

$ENV{AUTOMATED_TESTING} == 1