| 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::Error: 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
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? |