Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Tk Listbox problem

by Erez (Priest)
on Feb 19, 2009 at 08:17 UTC ( #744972=note: print w/replies, xml ) Need Help??


in reply to Tk Listbox problem

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://744972]
help
Chatterbox?
[Corion]: Hi all! After 13 years or so in the same room, I've now moved to a new room (one door further) - weird :-D

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2017-10-17 08:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (224 votes). Check out past polls.

    Notices?