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

Synopsis:

set substitute path [from-path] to-path

Add a substitution rule replacing from-path into to-path in source file names. If a substitution rule was previously set for from-path, the old rule is replaced by the new one. If from_path is not given use the current filename.