For Programmers: Free Programming Magazines  


Home > Archive > PerlTk > February 2006 > Tk error in Windows









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Tk error in Windows
vietboy505

2006-02-19, 3:10 pm

I have installed ActivePerl on the Windows XP Pro.

I tested out the script and it works in UNIX side, but in PC side, it got the error.

PHP:

Tk
::ErrorCan't set -options to `ARRAY(0x1ce8440)' for Tk::Optionmenu=HASH(0x19f22e0): Can't call method "destroy" on an undefined value at script1.pl line 197.
 at C:/Perl/site/lib/Tk/Derived.pm line 294
 Tk callback for event
 Tk callback for .
 Tk callback for .frame
 Tk callback for .frame1
 Tk callback for .frame1.frame
 Tk::Derived::configure at C:/Perl/site/lib/Tk/Derived.pm line 306
 Tk::Widget::new at C:/Perl/site/lib/Tk/Widget.pm line 205
 Tk::Widget::__ANON__ at C:/Perl/site/lib/Tk/Widget.pm line 256
 main::get_input_source at script1.pl line 136
Can'
t set -options to `ARRAY(0x1ce8440)' for Tk::Optionmenu=HASH(0x19f22e0): Can't call method "destroy" on an undefined value at script1.pl line 197.
 at C:/Perl/site/lib/Tk/Derived.pm line 294

 at C:/Perl/site/lib/Tk/Derived.pm line 306



How can I fixed these errors?
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com