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

Documentation

get the metadata for this particular ec2 instance

Modules

Retrieves data from EC2 Metadata service. Both script and API; Works only from an EC2 instance.