Subject: | Wishlist: Rename NO_NETWORK_TESTING to NETWORK_TESTING? |
To be more consistent with the other *_TESTING envs, perhaps the negative NO_ can be replaced with a positive? The default of true can still be assumed with e.g.
-----
sub is_false {
# defined and false
defined($_[0]) && !$_[0];
}
do_network_testing unless is_false("NETWORK_TESTING");
-----
To turn off network testing, instead of setting NO_NETWORK_TESTING=1, we can set NETWORK_TESTING=0.
Regards,
Steven