in reply to How to create/generate META.yml and SIGNATURE files for CPAN
which is the way it should be done. libwww-perl's Makefile.PL opens a socket to google.com (as a way of detecting a live connection), and if successful, prompts the user to run some tests that tries to access some sites , which while not ideal, is better than blindly connecting to whatever server to do anything without letting the user choose.skip_test("Skipping unless \$ENV{TEST_SIGNATURE} is true") unless $ENV +{TEST_SIGNATURE};
The user should always be prompted, and the default should always be to not connect, even if the entire purpose of a distribution is to interface to a specific remote server (like WWW-Yahoo-Groups ...).
|
|---|