Can't locate object method "MainWindow"
Posted on 2007-03-25
While trying to exercise the Tk::Calculator::RPN::HP module, I get the following error message:
Can't locate object method "MainWindow" via package "Tk::Calculator::RPN::HP_21" at /usr/lib/perl5/site_perl/5.8.8/Tk/Calculator/RPN/HP.pm line 163.
at /usr/lib/perl5/site_perl/5.8.8/i586-linux-thread-multi/Tk/Widget.pm line 203
Here's the sample program:
my $mw = MainWindow->new;
$mw->Calculator( -type => "21")->pack;