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

Layered config from files, command line, and other sources.
The Configuration File Source
The Environment Variable Source
The Command Line Source

Provides

in lib/Config/Layered/Source.pm