
Test::requiresinternet is intended to easily test network connectivity before functional tests begin to non-local internet resources. it does not require any modules beyond those supplied in core perl.
if the environment variable no_network_testing is set, then the tests will be skipped without attempting any socket connections.
if the sockets cannot connect to the specified hosts and ports, the exception is caught, reported and the tests skipped.