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

Modules

Set a switch in your script to zero after a run with the switch set to one.