|
|
| P is for Practical | |
| PerlMonks |
Re: Tk Listbox problemby Erez (Curate) |
| on Feb 19, 2009 at 08:17 UTC ( #744972=note: print w/ replies, xml ) | Need Help?? |
|
You're calling &changeList before the ListBox is actually rendered (with MainLoop). There is nothing *to* delete when it's running. Same error will be thrown on the insert method. Also, use eq instead of == when you're comparing strings (e.g. if ($system eq "SNES")) "A core tenant of the greater Perl philosophy is to trust that the developer knows enough to solve the problem" - Jay Shirley, A case for Catalyst.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||