|We don't bite newbies here... much|
Problem following Tk demo in Advanced Perl Programmingby elbie (Curate)
|on Aug 29, 2001 at 23:03 UTC||Need Help??|
elbie has asked for the
wisdom of the Perl Monks concerning the following question:
I feel really stupid asking this. My apologies in advance.
I'm working through the Perl/Tk chapters in O'Reilly's Advanced Perl Programming. I typed in the menu example verbatum minus comments and with only one button (included below) and I get this error:
No -label at /usr/lib/perl5/site_perl/5.005/i586-linux/Tk/Widget.pm line 247
The perldocs for Tk::Menubutton, Tk::options, Tk::Menu, and Tk::Widget don't make any reference to a label option in any way that I can find meaningful.
Is there some other distro of Perl/Tk that I should be using? How can I tell?