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