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

Creates a package based on a Moose role. Has only one sub:

convert( $target_package_name, $role );

Creates a package based on the role.