There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

OptreeCheck selftest harness

This file is primarily to test services of OptreeCheck itself, ie checkOptree(). %gOpts provides test-state info, it is 'exported' into main::

doing use OptreeCheck runs import(), which processes @ARGV to process cmdline args in 'standard' way across all clients of OptreeCheck.