I've installed the Tk RPM (tk-8.3.1-46.i386.rpm) multiple times, but I
can't seem to get it to work. Typing
perl -e 'use Tk'
Can't locate Tk.pm in @INC (@INC
contains: /usr/lib/perl5/site_perl/5.6.0/i386-linux .... blah blah blah
I've tried reloading the RPM, and also loading Tk via CPAN (won't finish
install) , but no luck. Is there something I'm missing here?
You need to install the perl-Tk RPM, not just the tk RPM, to use Tk within Perl.