Hi,
Forgive me is this topic has already been covered. I am hobby programmer on Windows. I am normally a mainframe systems programmer. I just upgraded my perl from 5.8 to 5.12.4. I noticed when i used the Activestate version of perl, the TK component is not working. I cannot find the TK.PM module for the current version of perl. I have tried older ones with no luck. Can someone point me in a direction to fix it, or at least some doc on why i am getting an error.
Here is the error I am getting
Can't locate Tk.pm in @INC (@INC contains: C:/Perl/site/lib C:/Perl/lib .) at perl_tk_example.pl line 2.
My sample IVP program i run
#!usr/bin/perl
use Tk;
my $mw = MainWindow->new;
$mw->Button(-text => 'Hello', -command => [\&printem, "Hello\n"])->pack;
$mw->Button(-text => 'End', -command => [$mw => 'destroy'])->pack;
Thhanks
Forgive me is this topic has already been covered. I am hobby programmer on Windows. I am normally a mainframe systems programmer. I just upgraded my perl from 5.8 to 5.12.4. I noticed when i used the Activestate version of perl, the TK component is not working. I cannot find the TK.PM module for the current version of perl. I have tried older ones with no luck. Can someone point me in a direction to fix it, or at least some doc on why i am getting an error.
Here is the error I am getting
Can't locate Tk.pm in @INC (@INC contains: C:/Perl/site/lib C:/Perl/lib .) at perl_tk_example.pl line 2.
My sample IVP program i run
#!usr/bin/perl
use Tk;
my $mw = MainWindow->new;
$mw->Button(-text => 'Hello', -command => [\&printem, "Hello\n"])->pack;
$mw->Button(-text => 'End', -command => [$mw => 'destroy'])->pack;
Thhanks