To install Mojo::UserAgent::Role::PromiseClass, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojo::UserAgent::Role::PromiseClass
CPAN shell
perl -MCPAN -e shell install Mojo::UserAgent::Role::PromiseClass
For more information on module installation, please visit the detailed CPAN module installation guide.