in reply to Re: Tk::Error: Failed to AUTOLOAD `TK::Widget::EnterFocus'
in thread Tk::Error: Failed to AUTOLOAD `TK::Widget::EnterFocus'

Thank you for your reply.

I'm using PERL 5.16.3

And Tk version 804.03

  • Comment on Re^2: Tk::Error: Failed to AUTOLOAD `TK::Widget::EnterFocus'

Replies are listed 'Best First'.
Re^3: Tk::Error: Failed to AUTOLOAD `TK::Widget::EnterFocus'
by choroba (Cardinal) on May 16, 2023 at 13:31 UTC
    Your Tk version is more than 11 years old: Changes, and your Perl is 10 years old: perlhist.

    It seems like some kind of namespace problem, the program tries to autoload EnterFocus and guesses the namespace incorrectly.

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]