terrance has asked for the wisdom of the Perl Monks concerning the following question:


What is the problem will cause this error?
Tk::Error: Can't call method "predict" on an undefined value at /usr/local/share/perl5/File/Tail.pm line 470. Tk callback for .frame.button Tk::__ANON__ at /usr/local/lib/perl5/Tk.pm line 250 Tk::Button::butUp at /usr/local/lib/perl5/Tk/Button.pm line 175 <ButtonRelease-1> (command bound to event)

Replies are listed 'Best First'.
Re: Perk/Tk error..
by Anonymous Monk on Apr 06, 2011 at 07:23 UTC
    What is the problem will cause this error?

    You mean to ask why some variable is not defined when some code tries to call ->predict on it? This question cannot be answered without code to examine.