Tk::widgets - preload widget classes
use Tk::widgets qw(Button Label Frame);
Does a 'require Tk::Foo' for each 'Foo' in the list. May speed startup by avoiding AUTOLOADs.
To install Tk, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Tk
CPAN shell
perl -MCPAN -e shell install Tk
For more information on module installation, please visit the detailed CPAN module installation guide.