in reply to Tk question
The error messages speak for themselves. In line 46/124, $t doesn't appear to be defined at all, and it looks like there's something similar causing the "Not a Tk Object" error.
My best guess is variable clash - removing all those requires was a *good* thing (but check out modules and the use statement sometime soon), but I reckon there are variables in the subs called $t somewhere that aren't localised...are you using strict & warnings? If not, do. They should be able to help you catch errors like this.
Cheers, Ben.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Tk question
by perl_seeker (Scribe) on Sep 10, 2003 at 06:01 UTC | |
by benn (Vicar) on Sep 10, 2003 at 09:49 UTC | |
by PhilHibbs (Hermit) on Sep 10, 2003 at 10:35 UTC | |
by benn (Vicar) on Sep 10, 2003 at 11:04 UTC | |
by perl_seeker (Scribe) on Sep 15, 2003 at 09:05 UTC | |
by perl_seeker (Scribe) on Sep 22, 2003 at 11:25 UTC | |
by Anonymous Monk on Sep 10, 2003 at 10:47 UTC |
In Section
Seekers of Perl Wisdom